Merge pull request #33 from poseidon-framework/dependabot/github_acti… #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
# trigger the workflow on push or pull request, but only for the master branch | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Haskell and install+test the module | |
uses: freckle/stack-action@v5 | |
with: | |
stack-arguments: --coverage | |
# prepare and upload test coverage report | |
- name: Create codecov coverage report | |
uses: 8c6794b6/hpc-codecov-action@v4 | |
with: | |
target: stack:xerxes-tests | |
- name: Upload coverage to codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} # set in organization settings |