43
43
run-e2e : ${{ steps.check-if-pr-has-label.outputs.run-e2e == 'true' && (github.event.action != 'labeled' || (github.event.action == 'labeled' && github.event.label.name == 'ready-for-e2e')) }}
44
44
run-jobs : ${{ github.event.action != 'labeled' }}
45
45
steps :
46
- - name : Check if PR exists with ready-for-e2e label for this SHA (KICK OFF A BUILD)
46
+ - name : Check if PR exists with ready-for-e2e label for this SHA
47
47
id : check-if-pr-has-label
48
48
uses : actions/github-script@v7
49
49
with :
@@ -137,28 +137,28 @@ jobs:
137
137
138
138
e2e :
139
139
name : Tests
140
- needs : [changes, check-label, build]
140
+ needs : [changes, lint, check-label, build, build-api-v1, build-api-v2 ]
141
141
if : ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}
142
142
uses : ./.github/workflows/e2e.yml
143
143
secrets : inherit
144
144
145
145
e2e-app-store :
146
146
name : Tests
147
- needs : [changes, check-label, build]
147
+ needs : [changes, lint, check-label, build, build-api-v1, build-api-v2 ]
148
148
if : ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}
149
149
uses : ./.github/workflows/e2e-app-store.yml
150
150
secrets : inherit
151
151
152
152
e2e-embed :
153
153
name : Tests
154
- needs : [changes, check-label, build]
154
+ needs : [changes, lint, check-label, build, build-api-v1, build-api-v2 ]
155
155
if : ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}
156
156
uses : ./.github/workflows/e2e-embed.yml
157
157
secrets : inherit
158
158
159
159
e2e-embed-react :
160
160
name : Tests
161
- needs : [changes, check-label, build]
161
+ needs : [changes, lint, check-label, build, build-api-v1, build-api-v2 ]
162
162
if : ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}
163
163
uses : ./.github/workflows/e2e-embed-react.yml
164
164
secrets : inherit
@@ -171,7 +171,7 @@ jobs:
171
171
172
172
required :
173
173
needs : [changes, lint, type-check, unit-test, integration-test, check-label, build, build-api-v1, build-api-v2, e2e, e2e-embed, e2e-embed-react, e2e-app-store]
174
- if : ${{ needs.check-label.outputs.run-e2e == 'true' }}
174
+ if : always()
175
175
runs-on : buildjet-2vcpu-ubuntu-2204
176
176
steps :
177
177
- name : fail if conditional jobs failed
0 commit comments