Skip to content

Commit

Permalink
ci: upload merged coverage file as artifact
Browse files Browse the repository at this point in the history
Upload merged coverage file as artifact for verification and inspection.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Dec 18, 2023
1 parent 170531e commit 52b8858
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,13 @@ jobs:
cd ./coverage/reports
lcov ${{ steps.get-coverage-files.outputs.mergefiles }} -o merged.info --rc lcov_branch_coverage=1
- name: Upload Merged Coverage Results
if: always()
uses: actions/upload-artifact@v3
with:
name: Merged Coverage Data
path: merged.info

- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 52b8858

Please sign in to comment.