From bb9535d75bec3fc7cbaecb3bc5fb98156c19c109 Mon Sep 17 00:00:00 2001 From: Niklas Wahl Date: Mon, 2 Jun 2025 22:30:53 -0300 Subject: [PATCH 1/6] Update codecov.yml Add path fixes to enable correct processing of coverage reports by codecov. --- .github/codecov.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/codecov.yml b/.github/codecov.yml index 6796aa02f..7b6b4db33 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -1,2 +1,5 @@ coverage: range: 50...75 + +fixes: + "::matRad/" From 393da483afc49159b43d7c261e15872015d8d142 Mon Sep 17 00:00:00 2001 From: Niklas Wahl Date: Mon, 2 Jun 2025 22:50:46 -0300 Subject: [PATCH 2/6] Update codecov.yml Fix missing dash --- .github/codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/codecov.yml b/.github/codecov.yml index 7b6b4db33..e7dd6c1b6 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -2,4 +2,4 @@ coverage: range: 50...75 fixes: - "::matRad/" + - "::matRad/" From 885dbf807899ca6a86cb02aa5ed1ed761855ac87 Mon Sep 17 00:00:00 2001 From: Niklas Wahl Date: Mon, 2 Jun 2025 23:14:13 -0300 Subject: [PATCH 3/6] Update coverage-report.yml --- .github/workflows/coverage-report.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage-report.yml b/.github/workflows/coverage-report.yml index 4a415cca4..bd8844c0f 100644 --- a/.github/workflows/coverage-report.yml +++ b/.github/workflows/coverage-report.yml @@ -30,10 +30,11 @@ jobs: format: coveralls - name: Upload to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} - file: coverage/coverage.xml + files: coverage/coverage.xml + disable_search: true fail_ci_if_error: false - name: Publish Coverage Report From c9c92655a4650d86e73cedab2248d1dad676f359 Mon Sep 17 00:00:00 2001 From: Niklas Wahl Date: Mon, 2 Jun 2025 23:26:52 -0300 Subject: [PATCH 4/6] Update codecov.yml --- .github/codecov.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/codecov.yml b/.github/codecov.yml index e7dd6c1b6..6796aa02f 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -1,5 +1,2 @@ coverage: range: 50...75 - -fixes: - - "::matRad/" From 163e573894367e472e93a510a8f3b6fcba0d97a0 Mon Sep 17 00:00:00 2001 From: Niklas Wahl Date: Mon, 2 Jun 2025 23:39:15 -0300 Subject: [PATCH 5/6] Update coverage-report.yml --- .github/workflows/coverage-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage-report.yml b/.github/workflows/coverage-report.yml index bd8844c0f..d8c755890 100644 --- a/.github/workflows/coverage-report.yml +++ b/.github/workflows/coverage-report.yml @@ -33,7 +33,7 @@ jobs: uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} - files: coverage/coverage.xml + files: coverage/coverage.json disable_search: true fail_ci_if_error: false From 598791b494eae3c42b38aa0e5d69b418c9418b6d Mon Sep 17 00:00:00 2001 From: Niklas Wahl Date: Wed, 4 Jun 2025 15:02:51 -0300 Subject: [PATCH 6/6] Update coverage-report.yml Checkout repository for coverage reports to have filetree available --- .github/workflows/coverage-report.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage-report.yml b/.github/workflows/coverage-report.yml index d8c755890..ab9b0847c 100644 --- a/.github/workflows/coverage-report.yml +++ b/.github/workflows/coverage-report.yml @@ -15,6 +15,10 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout Repository + uses: actions/checkout@v4 # Checks-out repository under $GITHUB_WORKSPACE + with: + submodules: 'false' - name: Download Coverage Artifact uses: actions/download-artifact@v4 @@ -33,8 +37,7 @@ jobs: uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} - files: coverage/coverage.json - disable_search: true + files: coverage/coverage.json,coverage/coverage.xml fail_ci_if_error: false - name: Publish Coverage Report