Skip to content

pdm-build-locked command: ignore dependency-groups during resolution #79

pdm-build-locked command: ignore dependency-groups during resolution

pdm-build-locked command: ignore dependency-groups during resolution #79

Workflow file for this run

name: Code coverage
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
name: Install PDM
with:
python-version: ${{ matrix.python-version }}
- name: Generate coverage report
run: |
pdm install
pdm run pytest
pdm run coverage xml -i
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: coverage.xml
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}