diff --git a/.codecov.yml b/.codecov.yml index aca4c422f8..76622a3867 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -11,3 +11,6 @@ coverage: informational: true ignore: - "*/tests/*" +# Remove path prefix for CodeCov processing on caf/decaf +fixes: + - "/var/ci/_work/::" diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 21c3385577..ef0fe93660 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -163,7 +163,7 @@ jobs: run: | ASPIREDIR=${{ env.WORK_DIR }} python -c \ "import aspire; print(aspire.config['ray']['temp_dir'])" - ASPIREDIR=${{ env.WORK_DIR }} PYTHONWARNINGS=error python -m pytest --durations=50 + ASPIREDIR=${{ env.WORK_DIR }} PYTHONWARNINGS=error python -m pytest --durations=50 --cov=aspire --cov-report=xml - name: Upload Coverage to CodeCov uses: codecov/codecov-action@v4 with: