We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb2554d commit 6add5b3Copy full SHA for 6add5b3
.github/workflows/cicd-main.yml
@@ -396,7 +396,7 @@ jobs:
396
uses: actions/download-artifact@v4
397
with:
398
path: ${{ github.run_id }}/current
399
-
+
400
- name: Get total coverage of current branch
401
shell: bash -x -e -u -o pipefail {0}
402
if: always()
@@ -411,6 +411,12 @@ jobs:
411
REPORT=$(coverage report)
412
TOTAL=$(echo "$REPORT" | grep "TOTAL" | awk '{print substr($NF, 1, length($NF)-1)}')
413
echo "main=${TOTAL}" | tee -a "$GITHUB_OUTPUT"
414
415
+ - name: Upload coverage reports to Codecov
416
+ uses: codecov/codecov-action@v5
417
+ with:
418
+ directory: ${{ github.run_id }}/current
419
+ token: ${{ secrets.CODECOV_TOKEN }}
420
421
- name: Upload artifacts
422
uses: actions/upload-artifact@v4
0 commit comments