Skip to content

Commit 3d8166a

Browse files
authored
Merge pull request #479 from NHSDigital/run-full-test-suite-on-main
Run full test suite for pushes to main
2 parents 98930a1 + 52162a1 commit 3d8166a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/stage-2-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100

101101
notifications-integration-test:
102102
needs: test
103-
if: needs.test.outputs.notifications-changed == 'true'
103+
if: github.ref == 'refs/heads/main' || needs.test.outputs.notifications-changed == 'true'
104104
name: 'Notifications Integration Tests'
105105
runs-on: ubuntu-latest
106106
timeout-minutes: 5
@@ -145,7 +145,7 @@ jobs:
145145

146146
notifications-end-to-end-test:
147147
needs: test
148-
if: needs.test.outputs.notifications-changed == 'true'
148+
if: github.ref == 'refs/heads/main' || needs.test.outputs.notifications-changed == 'true'
149149
name: 'Notifications End to End Tests'
150150
runs-on: ubuntu-latest
151151
timeout-minutes: 5
@@ -190,7 +190,7 @@ jobs:
190190

191191
frontend-integration-test:
192192
needs: test
193-
if: needs.test.outputs.frontend-changed == 'true'
193+
if: github.ref == 'refs/heads/main' || needs.test.outputs.frontend-changed == 'true'
194194
name: 'Frontend Tests'
195195
runs-on: ubuntu-latest
196196
timeout-minutes: 5

0 commit comments

Comments
 (0)