Publish Test Reports #736
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Publish Test Reports' | |
on: | |
workflow_run: | |
workflows: ['Validate and test'] # runs after CI workflow | |
types: | |
- completed | |
jobs: | |
publish-test-results: | |
name: "Publish details with dorny-test-reporter" | |
runs-on: ubuntu-latest | |
if: github.repository == 'apache/incubator-pekko-http' | |
strategy: | |
fail-fast: false | |
matrix: | |
SCALA_VERSION: [ 2.12, 2.13, 3 ] | |
JDK: [ 8, 11 ] | |
steps: | |
- uses: dorny/test-reporter@v1 | |
# avoid excessive notification spam, fail-on-error seems broken https://github.com/dorny/test-reporter/issues/161 | |
continue-on-error: true | |
with: | |
artifact: test-results-${{ matrix.JDK }}-${{ matrix.SCALA_VERSION }} | |
name: Test Results Details / Scala ${{ matrix.SCALA_VERSION }} on JDK ${{ matrix.JDK }} | |
fail-on-error: false | |
path: '**/target/test-reports/*.xml' | |
reporter: java-junit |