Skip to content

Commit d4141e9

Browse files
author
Anuraag Agrawal
authored
Upload coverage HTML report as action artifact. (#2333)
1 parent 4485904 commit d4141e9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/master-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ jobs:
4242
org.gradle.java.installations.paths=${{ steps.setup-java-8.outputs.path }},${{ steps.setup-java-11.outputs.path }}
4343
- uses: codecov/codecov-action@v1
4444
if: ${{ matrix.coverage }}
45+
- uses: actions/upload-artifact@v2
46+
if: ${{ matrix.coverage }}
47+
with:
48+
name: coverage-report
49+
path: all/build/reports/jacoco/test/html
4550
publish-snapshots:
4651
name: Publish snapshots to JFrog
4752
if: ${{ github.event_name == 'push' }}

.github/workflows/pr-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ jobs:
4242
org.gradle.java.installations.paths=${{ steps.setup-java-8.outputs.path }},${{ steps.setup-java-11.outputs.path }}
4343
- uses: codecov/codecov-action@v1
4444
if: ${{ matrix.coverage }}
45+
- uses: actions/upload-artifact@v2
46+
if: ${{ matrix.coverage }}
47+
with:
48+
name: coverage-report
49+
path: all/build/reports/jacoco/test/html

0 commit comments

Comments
 (0)