Test Report #19084
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: 'Test Report' | |
on: | |
workflow_run: | |
workflows: ['CI'] | |
types: | |
- completed | |
env: | |
CROSS_BUILD: ${{ github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/preview') || startsWith(github.ref, 'refs/heads/release') }} | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
outputs: | |
scala_version_matrix: ${{ steps.variables.outputs.scala_version_matrix }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 100 | |
- name: Define variables | |
id: variables | |
shell: bash | |
run: | | |
if [[ $CROSS_BUILD == 'true' ]]; then | |
echo "scala_version_matrix=[\"2.12\",\"2.13\"]" >> $GITHUB_OUTPUT | |
else | |
echo "scala_version_matrix=[\"2.13\"]" >> $GITHUB_OUTPUT | |
fi | |
report-be: | |
runs-on: ubuntu-latest | |
needs: [ setup ] | |
strategy: | |
matrix: | |
scalaVersion: ${{fromJson(needs.setup.outputs.scala_version_matrix)}} | |
steps: | |
- name: BackendTests Report | |
continue-on-error: true | |
uses: dorny/test-reporter@v1 | |
with: | |
name: REPORT-BackendTests-${{ matrix.scalaVersion }} | |
artifact: BackendTests-results-${{ matrix.scalaVersion }} | |
path: '**/*.xml' | |
reporter: java-junit | |
# Limited because of GH actions maximum report size of 65535 bytes | |
list-suites: failed | |
- name: IntegrationTests Report | |
continue-on-error: true | |
uses: dorny/test-reporter@v1 | |
with: | |
name: REPORT-IntegrationTests-${{ matrix.scalaVersion }} | |
artifact: IntegrationTests-results-${{ matrix.scalaVersion }} | |
path: '**/*.xml' | |
reporter: java-junit | |
- name: SlowTests Report | |
continue-on-error: true | |
uses: dorny/test-reporter@v1 | |
with: | |
name: REPORT-SlowTests-${{ matrix.scalaVersion }} | |
artifact: SlowTests-results-${{ matrix.scalaVersion }} | |
path: '**/*.xml' | |
reporter: java-junit | |
report-fe: | |
runs-on: ubuntu-latest | |
steps: | |
- name: FrontendTests Report | |
continue-on-error: true | |
uses: dorny/test-reporter@v1 | |
with: | |
name: REPORT-FrontendTests | |
artifact: FrontendTests-results | |
path: '**/*.xml' | |
reporter: jest-junit | |
- name: CypressTests Report | |
continue-on-error: true | |
uses: dorny/test-reporter@v1 | |
with: | |
name: REPORT-CypressTests | |
artifact: CypressTests-results | |
path: '**/*.xml' | |
reporter: java-junit |