Skip to content

Commit

Permalink
Add archive of reports for test/coverage (#1747)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied authored Apr 25, 2022
1 parent 0155939 commit 4bf166d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,18 @@ jobs:
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./build/jacoco/test/jacocoTestReport.xml
files: ./build/reports/jacoco/test/jacocoTestReport.xml

- uses: actions/upload-artifact@v3
if: always()
with:
name: ${{ matrix.jdk }}-reports
path: |
./build/reports/
- name: check archive for debugging
if: always()
run: echo "Check the artifact ${{ matrix.jdk }}-reports.zip for detailed test results"

backward-compatibility:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ tasks.assemble.finalizedBy(createChecksums)


jacoco {
reportsDirectory = file("$buildDir/jacoco")
reportsDirectory = file("$buildDir/reports/jacoco")
}
jacocoTestReport {
reports {
Expand Down

0 comments on commit 4bf166d

Please sign in to comment.