From 21a9007c29aceb9ab9df27064295b7ca56217a3d Mon Sep 17 00:00:00 2001 From: Garrett Wright Date: Fri, 18 Oct 2024 15:36:11 -0400 Subject: [PATCH 1/2] Try fixing ampere CI report paths --- .codecov.yml | 3 +++ 1 file changed, 3 insertions(+) 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/::" From 27d3b98ffbb88efd3eee7b70ca654d6a31d28ecd Mon Sep 17 00:00:00 2001 From: Garrett Wright Date: Fri, 18 Oct 2024 16:37:32 -0400 Subject: [PATCH 2/2] Add pytest code coverage params to ampere workflow job --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: