File tree Expand file tree Collapse file tree 3 files changed +48
-2
lines changed Expand file tree Collapse file tree 3 files changed +48
-2
lines changed Original file line number Diff line number Diff line change 66
66
name : codecov-evals
67
67
fail_ci_if_error : false
68
68
69
- - name : Upload test results to Codecov
69
+ - name : Upload results to Codecov
70
70
if : ${{ !cancelled() }}
71
71
uses : codecov/test-results-action@v1
72
72
with :
73
73
token : ${{ secrets.CODECOV_TOKEN }}
74
+
75
+ - name : Upload Test Report
76
+ uses : actions/upload-artifact@v3
77
+ if : always()
78
+ with :
79
+ name : eval-junit-results
80
+ path : ' **/*.junit.xml'
81
+ retention-days : 1
Original file line number Diff line number Diff line change
1
+ name : report
2
+ on :
3
+ workflow_run :
4
+ workflows : [ eval, 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@07ab29fd4a977ae4d2b275087cf67563dfdf0295
16
+ with :
17
+ name : test-junit-results
18
+ workflow : ${{ github.event.workflow.id }}
19
+ run_id : ${{ github.event.workflow_run.id }}
20
+ - name : Download Eval Report
21
+ uses : dawidd6/action-download-artifact@07ab29fd4a977ae4d2b275087cf67563dfdf0295
22
+ with :
23
+ name : eval-junit-results
24
+ workflow : ${{ github.event.workflow.id }}
25
+ run_id : ${{ github.event.workflow_run.id }}
26
+ - name : Publish Test Report
27
+ uses : mikepenz/action-junit-report@cf701569b05ccdd861a76b8607a66d76f6fd4857
28
+ with :
29
+ commit : ${{ github.event.workflow_run.head_sha }}
30
+ report_paths : ' **/*.junit.xml'
Original file line number Diff line number Diff line change 55
55
name : codecov-unittests
56
56
fail_ci_if_error : false
57
57
58
- - name : Upload test results to Codecov
58
+ - name : Upload results to Codecov
59
59
if : ${{ !cancelled() }}
60
60
uses : codecov/test-results-action@v1
61
61
with :
62
62
token : ${{ secrets.CODECOV_TOKEN }}
63
+
64
+ - name : Upload Test Report
65
+ uses : actions/upload-artifact@v3
66
+ if : always()
67
+ with :
68
+ name : test-junit-results
69
+ path : ' **/*.junit.xml'
70
+ retention-days : 1
You can’t perform that action at this time.
0 commit comments