File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 31
31
# NOTE: cli-tests will NEVER run project-tests on MacOS.
32
32
run-mac-tests : true
33
33
34
+ report-test-failures :
35
+ runs-on : ubuntu-latest
36
+ needs : tests
37
+ if : failure() || cancelled()
38
+ steps :
39
+ - name : Notify jetpack.io slack of release status (only if tests fail)
40
+ id : slack
41
+
42
+ with :
43
+ payload : |
44
+ {
45
+ "status": "test ${{ needs.tests.result }}"
46
+ }
47
+ env :
48
+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_CLI_RELEASE_WEBHOOK_URL }}
49
+
34
50
edge :
35
51
runs-on : ubuntu-latest
36
52
environment : release
@@ -133,3 +149,14 @@ jobs:
133
149
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
134
150
TELEMETRY_KEY : ${{ secrets.TELEMETRY_KEY }}
135
151
SENTRY_DSN : ${{ secrets.SENTRY_DSN }}
152
+ - name : Notify jetpack.io slack of release status
153
+ id : slack
154
+ if : always()
155
+
156
+ with :
157
+ payload : |
158
+ {
159
+ "status": "release ${{ job.status }}"
160
+ }
161
+ env :
162
+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_CLI_RELEASE_WEBHOOK_URL }}
You can’t perform that action at this time.
0 commit comments