From be9fb34c6721d81b17e5ed1896f5eefb6c810e46 Mon Sep 17 00:00:00 2001 From: mshriver Date: Fri, 7 Nov 2025 14:07:28 +0100 Subject: [PATCH] change codecov action vars --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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