integrated junit-reports with ghactions (#9361)

This commit is contained in:
Long Wu Yuan 2022-12-07 08:54:37 +05:30 committed by GitHub
parent f9cce5a4ed
commit ad4655a568
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 0 deletions

16
.github/workflows/junit-reports.yaml vendored Normal file
View file

@ -0,0 +1,16 @@
name: 'E2E Test Report'
on:
workflow_run:
workflows: ['CI'] # runs after CI workflow
types:
- completed
jobs:
report:
runs-on: ubuntu-latest
steps:
- uses: dorny/test-reporter@v1
with:
artifact: e2e-test-reports
name: JEST Tests # Name of the check run which will be created
path: 'report*.xml' # Path to test results (inside artifact .zip)
reporter: jest-junit # Format of test results