Commit 2651530 1 parent 1765c2a commit 2651530 Copy full SHA for 2651530
File tree 2 files changed +24
-26
lines changed
2 files changed +24
-26
lines changed Original file line number Diff line number Diff line change
1
+ name : Report test results
2
+ on :
3
+ workflow_run :
4
+ workflows : [Test]
5
+ types : [completed]
6
+
7
+ permissions :
8
+ checks : write
9
+
10
+ jobs :
11
+ checks :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Download Test Report
15
+ uses : dawidd6/action-download-artifact@v2
16
+ with :
17
+ name : junit-test-results
18
+ workflow : ${{ github.event.workflow.id }}
19
+ run_id : ${{ github.event.workflow_run.id }}
20
+ - name : Publish Test Report
21
+ uses : mikepenz/action-junit-report@v3
22
+ with :
23
+ commit : ${{github.event.workflow_run.head_sha}}
24
+ report_paths : ' **/build/test-results/test/TEST-*.xml'
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: Test
2
2
on :
3
3
- pull_request
4
4
- push
5
-
6
5
jobs :
7
6
test :
8
7
name : Build and Run Tests
27
26
path : ' **/build/test-results/test/TEST-*.xml'
28
27
fail_on_failure : true
29
28
retention-days : 1
30
- ---
31
- name : report
32
- on :
33
- workflow_run :
34
- workflows : [test]
35
- types : [completed]
36
-
37
- permissions :
38
- checks : write
39
-
40
- jobs :
41
- checks :
42
- runs-on : ubuntu-latest
43
- steps :
44
- - name : Download Test Report
45
- uses : dawidd6/action-download-artifact@v2
46
- with :
47
- name : junit-test-results
48
- workflow : ${{ github.event.workflow.id }}
49
- run_id : ${{ github.event.workflow_run.id }}
50
- - name : Publish Test Report
51
- uses : mikepenz/action-junit-report@v3
52
- with :
53
- commit : ${{github.event.workflow_run.head_sha}}
54
- report_paths : ' **/build/test-results/test/TEST-*.xml'
You can’t perform that action at this time.
0 commit comments