Skip to content

Commit b102db3

Browse files
committed
fix tests
1 parent c4ed09a commit b102db3

4 files changed

Lines changed: 36 additions & 1 deletion

File tree

.github/workflows/db-migration-backwards-compatibility.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,15 @@ jobs:
192192
tail: true
193193
wait-for: 30s
194194
log-output-if: true
195+
- name: Start run-cron-jobs in background
196+
uses: JarvusInnovations/background-action@v1.0.7
197+
with:
198+
run: pnpm -C apps/backend run run-cron-jobs --log-order=stream &
199+
wait-on: |
200+
http://localhost:8102
201+
tail: true
202+
wait-for: 30s
203+
log-output-if: true
195204

196205
- name: Wait 10 seconds
197206
run: sleep 10
@@ -230,4 +239,3 @@ jobs:
230239
steps:
231240
- name: No migration changes detected
232241
run: echo "No changes to migrations folder detected. Skipping backwards compatibility test."
233-

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,15 @@ jobs:
140140
tail: true
141141
wait-for: 30s
142142
log-output-if: true
143+
- name: Start run-cron-jobs in background
144+
uses: JarvusInnovations/background-action@v1.0.7
145+
with:
146+
run: pnpm -C apps/backend run run-cron-jobs --log-order=stream &
147+
wait-on: |
148+
http://localhost:8102
149+
tail: true
150+
wait-for: 30s
151+
log-output-if: true
143152

144153
- name: Wait 10 seconds
145154
run: sleep 10

.github/workflows/e2e-custom-base-port-api-tests.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,15 @@ jobs:
134134
tail: true
135135
wait-for: 30s
136136
log-output-if: true
137+
- name: Start run-cron-jobs in background
138+
uses: JarvusInnovations/background-action@v1.0.7
139+
with:
140+
run: pnpm -C apps/backend run run-cron-jobs --log-order=stream &
141+
wait-on: |
142+
http://localhost:6702
143+
tail: true
144+
wait-for: 30s
145+
log-output-if: true
137146

138147
- name: Wait 10 seconds
139148
run: sleep 10

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,15 @@ jobs:
140140
tail: true
141141
wait-for: 30s
142142
log-output-if: true
143+
- name: Start run-cron-jobs in background
144+
uses: JarvusInnovations/background-action@v1.0.7
145+
with:
146+
run: pnpm -C apps/backend run run-cron-jobs --log-order=stream &
147+
wait-on: |
148+
http://localhost:8102
149+
tail: true
150+
wait-for: 30s
151+
log-output-if: true
143152

144153
- name: Wait 10 seconds
145154
run: sleep 10

0 commit comments

Comments
 (0)