From 52b8858e829453b6cbad15232b25129681bf562a Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 18 Dec 2023 12:41:31 -0500 Subject: [PATCH] ci: upload merged coverage file as artifact Upload merged coverage file as artifact for verification and inspection. Signed-off-by: Anas Nashif --- .github/workflows/codecov.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index 0ea3641d1e7f..9e841025993f 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -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