2026 AGB Classification Updates #508
Workflow file for this run
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: | |
| # run on every push to main | |
| push: | |
| branches: | |
| - main | |
| # run on every push (not commit) to a PR, plus open/reopen | |
| # triggers for code changes | |
| pull_request: | |
| types: | |
| - synchronize | |
| - opened | |
| - reopened | |
| paths: | |
| - 'archeryutils/**' | |
| - 'tests/**' | |
| jobs: | |
| coverage: | |
| name: coverage | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.14" | |
| - run: | | |
| pip install coverage | |
| pip install .[test] | |
| # annotate each step with `if: always` to run all regardless | |
| - name: Check coverage | |
| if: always() | |
| run: coverage run -m pytest . | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| fail_ci_if_error: true | |
| token: ${{ secrets.CODECOV_TOKEN }} | |