Skip to content

Bump codecov/codecov-action from 5 to 6 in the github-actions group #33

Bump codecov/codecov-action from 5 to 6 in the github-actions group

Bump codecov/codecov-action from 5 to 6 in the github-actions group #33

Workflow file for this run

# Report code coverage to Codecov.
name: Report coverage
on: [push, workflow_dispatch]
jobs:
coverage:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.10', '3.14']
steps:
- name: Check out code.
uses: actions/checkout@v6
- name: Set up Python.
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Install project.
run: pip install --editable .[dev]
- name: Measure code coverage.
run: pytest --cov --cov-report=xml
- name: Upload coverage report.
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: ./build/coverage/coverage.xml