Skip to content

Bump actions/checkout from 4 to 5 #6

Bump actions/checkout from 4 to 5

Bump actions/checkout from 4 to 5 #6

Workflow file for this run

name: Codecov Coverage
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
pip install pytest pytest-cov coverage
- name: Run tests with coverage
run: |
coverage run -m pytest -v --maxfail=3 --disable-warnings
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: false