File tree Expand file tree Collapse file tree 2 files changed +26
-16
lines changed Expand file tree Collapse file tree 2 files changed +26
-16
lines changed Original file line number Diff line number Diff line change @@ -147,23 +147,13 @@ jobs:
147
147
--profile "+${{ matrix.profile }}" \
148
148
--filter ${{ matrix.filter }}
149
149
150
- - name : Print success in summary
151
- if : success()
152
- run : |
153
- echo "" >> $GITHUB_STEP_SUMMARY
154
- echo "All test(s) successfull :tada:" >> $GITHUB_STEP_SUMMARY
155
-
156
- - name : Print failure in summary
157
- if : failure()
158
- run : |
159
- echo "" >> $GITHUB_STEP_SUMMARY
160
- echo "Some test(s) failed :cold_sweat:" >> $GITHUB_STEP_SUMMARY
161
-
162
- - name : Publish Test Report
163
- uses : mikepenz/action-junit-report@v4
164
- if : success() || failure() # always run even if the previous step fails
150
+ - name : Upload Test Report
151
+ uses : actions/upload-artifact@v3
152
+ if : always() # always run even if the previous step fails
165
153
with :
166
- report_paths : " TEST-*.xml"
154
+ name : nf-test-test-results
155
+ path : " TEST-*.xml"
156
+ retention-days : 1
167
157
168
158
- name : Clean up
169
159
if : success() || failure()
Original file line number Diff line number Diff line change
1
+ name : " Test Report"
2
+ on :
3
+ workflow_run :
4
+ workflows : ["nf-core CI"] # runs after CI workflow
5
+ types :
6
+ - completed
7
+ permissions :
8
+ contents : read
9
+ actions : read
10
+ checks : write
11
+ jobs :
12
+ report :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : dorny/test-reporter@v1
16
+ with :
17
+ artifact : nf-test-test-results # artifact name
18
+ name : nf-test Tests # Name of the check run which will be created
19
+ path : " TEST-*.xml" # Path to test results (inside artifact .zip)
20
+ reporter : java-junit # Format of test results
You can’t perform that action at this time.
0 commit comments