build: archive test result for later analysis (#31146)

This commit is contained in:
Johannes Rudolph 2022-02-21 14:25:12 +01:00 committed by GitHub
parent 03ee474f49
commit a9d494745d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,7 +167,14 @@ jobs:
with: with:
report_paths: '**/target/test-reports/TEST-*.xml' report_paths: '**/target/test-reports/TEST-*.xml'
fail_if_no_tests: false fail_if_no_tests: false
skip_publishing: true
# Archive test results so we can do some diagnostics later
- name: Upload test results
uses: actions/upload-artifact@v2
if: success() || failure() # run this step even if previous step failed
with:
name: test-results-${{ matrix.jdkVersion }}-${{ matrix.scalaVersion }}
path: '**/target/test-reports/TEST-*.xml'
- name: Docs - name: Docs
# Docs generation requires JDK 11. Checks with `startsWith` helps # Docs generation requires JDK 11. Checks with `startsWith` helps