diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fefa6cd..793ef6c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,11 +28,14 @@ jobs: run: hatch env create - name: Test with pytest and coverage run: hatch test --cover --cover-quiet + - name: Generate coverage XML report + if: matrix.python-version == '3.12' + run: hatch run test:coverage xml - name: Upload coverage to Codecov if: matrix.python-version == '3.12' uses: codecov/codecov-action@v5 with: - file: ./coverage.xml + files: ./coverage.xml flags: unittests name: codecov-umbrella fail_ci_if_error: false