diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23ba721cdb..052d96ac31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/build.gradle b/build.gradle index edb76497f7..c0b4647d4b 100644 --- a/build.gradle +++ b/build.gradle @@ -356,7 +356,7 @@ tasks.assemble.finalizedBy(createChecksums) jacoco { - reportsDirectory = file("$buildDir/jacoco") + reportsDirectory = file("$buildDir/reports/jacoco") } jacocoTestReport { reports {