Merge pull request #1007 from suhr25/fix/cohort-diversity-stats-error… #3
This file contains hidden or 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: coverage | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| coverage: | |
| strategy: | |
| fail-fast: true | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v4 | |
| - name: Setup python | |
| uses: ./.github/actions/setup-python | |
| with: | |
| python-version: "3.12" | |
| - name: Run unit tests with coverage | |
| run: poetry run pytest -v tests --ignore tests/integration --cov malariagen_data/anoph --cov-report=xml | |
| - name: Upload coverage report | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| files: ./coverage.xml | |
| verbose: true |