66 push :
77 branches :
88 - main
9-
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+ cancel-in-progress : true
12+
1013permissions :
1114 pull-requests : write
1215
2225 env :
2326 REPORT_LOCAL_DIR : test-reports
2427 REPORT_LOCAL_FILE : wasm-e2e-report.html
28+ WASM_REPORT_JSON_FILE : wasm.json
29+ GRATE_REPORT_JSON_FILE : grates.json
30+ REPORT_HTML_IN_REPORTS : report.html
2531 COMMENT_LOCAL_FILE : e2e_comment.md
2632
2733 steps :
3137 # First attempt at build
3238 - name : Build e2e (attempt 1)
3339 id : build_e2e_try1
34- uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
40+ uses : docker/build-push-action@601a80b39c9405e50806ae38af30926f9d957c47 # v6.19.1
3541 with :
3642 platforms : linux/amd64
3743 cache-from : type=gha
4955 - name : Build e2e (attempt 2)
5056 id : build_e2e_try2
5157 if : steps.build_e2e_try1.outcome == 'failure'
52- uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
58+ uses : docker/build-push-action@601a80b39c9405e50806ae38af30926f9d957c47 # v6.19.1
5359 with :
5460 platforms : linux/amd64
5561 cache-from : type=gha
6773 - name : Build e2e (attempt 3)
6874 id : build_e2e_try3
6975 if : steps.build_e2e_try2.outcome == 'failure'
70- uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
76+ uses : docker/build-push-action@601a80b39c9405e50806ae38af30926f9d957c47 # v6.19.1
7177 with :
7278 platforms : linux/amd64
7379 cache-from : type=gha
@@ -99,7 +105,35 @@ jobs:
99105 uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
100106 with :
101107 name : wasm-e2e-report
102- path : ${{ env.REPORT_LOCAL_DIR }}/${{ env.REPORT_LOCAL_FILE }}
108+ path : |
109+ ${{ env.REPORT_LOCAL_DIR }}/reports/${{ env.REPORT_HTML_IN_REPORTS }}
110+ ${{ env.REPORT_LOCAL_DIR }}/${{ env.REPORT_LOCAL_FILE }}
111+ if-no-files-found : error
112+ retention-days : 7
113+
114+ - name : Upload wasm JSON report artifact
115+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
116+ with :
117+ name : wasm-e2e-json
118+ path : ${{ env.REPORT_LOCAL_DIR }}/reports/${{ env.WASM_REPORT_JSON_FILE }}
119+ if-no-files-found : error
120+ retention-days : 7
121+
122+ - name : Upload grate JSON report artifact
123+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
124+ with :
125+ name : grate-e2e-json
126+ path : ${{ env.REPORT_LOCAL_DIR }}/reports/${{ env.GRATE_REPORT_JSON_FILE }}
127+ if-no-files-found : error
128+ retention-days : 7
129+
130+ - name : Upload unified runner HTML report artifact
131+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
132+ with :
133+ name : wasm-e2e-unified-html
134+ path : |
135+ ${{ env.REPORT_LOCAL_DIR }}/reports/${{ env.REPORT_HTML_IN_REPORTS }}
136+ ${{ env.REPORT_LOCAL_DIR }}/${{ env.REPORT_LOCAL_FILE }}
103137 if-no-files-found : error
104138 retention-days : 7
105139
@@ -120,4 +154,4 @@ jobs:
120154 if : steps.e2e.outputs.E2E_STATUS == 'fail'
121155 run : |
122156 echo "Tests failed; failing job after posting the report/comment."
123- exit 1
157+ exit 1
0 commit comments