forked from AmadeusITGroup/otter
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 939 Bytes
/
tests-reporter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Tests reports
on:
workflow_run:
workflows: ['Main CI']
types:
- completed
permissions: read-all
jobs:
publish-ut-reports:
runs-on: ubuntu-latest
permissions:
# Required to publish Unit Test Report to the pipeline execution result
checks: write
steps:
- uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 # v1.9.1
with:
artifact: /ut-reports(.*)/
name: UT Tests report$1
path: '**/*.xml'
reporter: jest-junit
publish-it-reports:
runs-on: ubuntu-latest
permissions:
# Required to publish Integration Test Report to the pipeline execution result
checks: write
steps:
- uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 # v1.9.1
with:
artifact: /it-reports(.*)/
name: IT Tests report$1
path: '**/*.xml'
reporter: jest-junit