lalib/.github/workflows/test_coverage.yml
Alexander Hess 3f8b5cb146
Integrate codecov.io
We publish the test coverage reporting to codecov.io
2024-09-10 03:10:26 +02:00

31 lines
854 B
YAML

name: test-coverage
on: push
jobs:
test-coverage:
runs-on: ubuntu-latest
name: test-coverage
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
# Make all of the below versions available simultaneously
python-version: |
3.9
3.10
3.11
3.12
architecture: x64
- run: python --version
- run: pip --version
# The following pinned dependencies must be updated manually
- run: pip install nox==2024.4.15
- run: pip install poetry==1.8.3
# "test-coverage" triggers further nox sessions,
# one for each of the above Python versions,
# before all results are collected together
- run: nox -s test-coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}