Skip to content

Commit 3ab5aa5

Browse files
committed
Only run E2E repeats on main/dev branches
1 parent c8c12f8 commit 3ab5aa5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/e2e-api-tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,11 @@ jobs:
134134
run: pnpm test
135135

136136
- name: Run tests again, to make sure they are stable (attempt 1)
137+
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
137138
run: pnpm test
138139

139140
- name: Run tests again, to make sure they are stable (attempt 2)
141+
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
140142
run: pnpm test
141143

142144
- name: Verify data integrity

.github/workflows/e2e-source-of-truth-api-tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,11 @@ jobs:
141141
run: pnpm test
142142

143143
- name: Run tests again, to make sure they are stable (attempt 1)
144+
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
144145
run: pnpm test
145146

146147
- name: Run tests again, to make sure they are stable (attempt 2)
148+
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
147149
run: pnpm test
148150

149151
- name: Verify data integrity

0 commit comments

Comments
 (0)