From bda70b415f5513a3b1f245ead8d489cd6f73ca33 Mon Sep 17 00:00:00 2001 From: Pascal Grimaud Date: Sat, 12 Feb 2022 11:44:46 +0100 Subject: [PATCH] CodeCov: try to upload lcov report --- .github/workflows/github-actions.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 6b21de31ecc..4322ca326a8 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -72,6 +72,12 @@ jobs: name: jacoco path: '${{ github.workspace }}/target/jacoco/jacoco.xml' retention-days: 1 + - name: 'Artifact: upload lcov report' + uses: actions/upload-artifact@v2 + with: + name: lcov + path: '${{ github.workspace }}/target/test-results/lcov.info' + retention-days: 1 - name: 'Artifact: upload JAR' uses: actions/upload-artifact@v2 with: @@ -143,9 +149,19 @@ jobs: uses: actions/download-artifact@v2 with: name: jacoco - - name: 'Codecov: sending analysis...' + - name: 'Artifact: download lcov report' + uses: actions/download-artifact@v2 + with: + name: lcov + - name: 'Codecov: sending JaCoCo analysis...' uses: codecov/codecov-action@v2 with: files: jacoco.xml fail_ci_if_error: true verbose: true + - name: 'Codecov: sending lcov analysis...' + uses: codecov/codecov-action@v2 + with: + files: lcov.info + fail_ci_if_error: true + verbose: true