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