diff --git a/.github/workflows/test-with-coverage.yml b/.github/workflows/test-with-coverage.yml index e7ff639f..985895aa 100644 --- a/.github/workflows/test-with-coverage.yml +++ b/.github/workflows/test-with-coverage.yml @@ -26,4 +26,4 @@ jobs: uses: actions/upload-artifact@v6 with: name: coverage - path: ./build/_output/coverage/coverage.txt + path: ./out/coverage/coverage.txt diff --git a/.github/workflows/upload-coverage.yml b/.github/workflows/upload-coverage.yml index 5519f6b0..f3936656 100644 --- a/.github/workflows/upload-coverage.yml +++ b/.github/workflows/upload-coverage.yml @@ -22,5 +22,9 @@ jobs: uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} - files: build/_output/coverage/coverage.txt + # The 'files' attribute consists of 'coverage/coverage.txt'. + # The 'coverage' directory is created upon the download of the coverage artifact from previous step (it creates a directory with the name of the artifact). + files: coverage/coverage.txt + flags: unittests # optional fail_ci_if_error: true + verbose: true