Skip to content

Commit 980160f

Browse files
committed
Trying to track down root cause of test failures
1 parent d7443e0 commit 980160f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/pr.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
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')) }}
4444
run-jobs: ${{ github.event.action != 'labeled' }}
4545
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
4747
id: check-if-pr-has-label
4848
uses: actions/github-script@v7
4949
with:
@@ -137,28 +137,28 @@ jobs:
137137

138138
e2e:
139139
name: Tests
140-
needs: [changes, check-label, build]
140+
needs: [changes, lint, check-label, build, build-api-v1, build-api-v2]
141141
if: ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}
142142
uses: ./.github/workflows/e2e.yml
143143
secrets: inherit
144144

145145
e2e-app-store:
146146
name: Tests
147-
needs: [changes, check-label, build]
147+
needs: [changes, lint, check-label, build, build-api-v1, build-api-v2]
148148
if: ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}
149149
uses: ./.github/workflows/e2e-app-store.yml
150150
secrets: inherit
151151

152152
e2e-embed:
153153
name: Tests
154-
needs: [changes, check-label, build]
154+
needs: [changes, lint, check-label, build, build-api-v1, build-api-v2]
155155
if: ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}
156156
uses: ./.github/workflows/e2e-embed.yml
157157
secrets: inherit
158158

159159
e2e-embed-react:
160160
name: Tests
161-
needs: [changes, check-label, build]
161+
needs: [changes, lint, check-label, build, build-api-v1, build-api-v2]
162162
if: ${{ needs.check-label.outputs.run-e2e == 'true' && needs.changes.outputs.has-files-requiring-all-checks == 'true' }}
163163
uses: ./.github/workflows/e2e-embed-react.yml
164164
secrets: inherit
@@ -171,7 +171,7 @@ jobs:
171171

172172
required:
173173
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()
175175
runs-on: buildjet-2vcpu-ubuntu-2204
176176
steps:
177177
- name: fail if conditional jobs failed

0 commit comments

Comments
 (0)