Skip to content

Bump codecov/codecov-action from 4 to 5 #130

Bump codecov/codecov-action from 4 to 5

Bump codecov/codecov-action from 4 to 5 #130

Workflow file for this run

---
name: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [main]
pull_request:
branches: ['*']
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install --upgrade pip
pip install -e .[tests]
- name: Run tests and coverage
run: make coverage
- name: Code coverage
uses: codecov/codecov-action@v5
with:
file: coverage.xml
flags: ${{ matrix.os }}-${{ matrix.python-version }}
name: codecov
fail_ci_if_error: false