From 68f981fbc389be2999af6a1a0ec5f31f4413c76b Mon Sep 17 00:00:00 2001 From: Marc Wouts Date: Sat, 25 Nov 2023 14:53:43 +0000 Subject: [PATCH] Use an explicit coverage file --- .github/workflows/step_tests-conda.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/step_tests-conda.yml b/.github/workflows/step_tests-conda.yml index 1f67cdda..022d9c90 100644 --- a/.github/workflows/step_tests-conda.yml +++ b/.github/workflows/step_tests-conda.yml @@ -57,10 +57,13 @@ jobs: python -m jupyterlab.browser_check - name: Test with pytest - run: pytest --cov + # We use an explicit coverage file otherwise the + # codecov action below does not find it + run: pytest --cov . --cov-report xml:/home/runner/coverage.xml - name: Upload coverage uses: codecov/codecov-action@v3 with: fail_ci_if_error: true verbose: true + files: /home/runner/coverage.xml