Skip to content

Commit

Permalink
CodeCov: try to upload lcov report
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgrimaud committed Feb 12, 2022
1 parent 4f360ee commit bda70b4
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit bda70b4

Please sign in to comment.