Skip to content

also upload from all python versions to codecov #70

also upload from all python versions to codecov

also upload from all python versions to codecov #70

Workflow file for this run

name: Check & Publish Coverage
on:
pull_request:
workflow_dispatch:
push:
paths:
- '.github/workflows/check-coverage.yml'
- 'codecov.yml'
permissions:
id-token: write
jobs:
python:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [
"3.9",
"3.10",
"3.11",
"3.12",
"3.13"
]
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 uv
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run coverage
run: |
uv run --no-default-groups --group cov coverage run --context=${{ matrix.python-version }} -m pytest
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
use_oidc: true