From b102db3caac80d400954be4fa6cc81c3b86e00f6 Mon Sep 17 00:00:00 2001 From: Bilal Godil Date: Thu, 29 Jan 2026 15:28:34 -0800 Subject: [PATCH] fix tests --- .../db-migration-backwards-compatibility.yaml | 10 +++++++++- .github/workflows/e2e-api-tests.yaml | 9 +++++++++ .github/workflows/e2e-custom-base-port-api-tests.yaml | 9 +++++++++ .github/workflows/e2e-source-of-truth-api-tests.yaml | 9 +++++++++ 4 files changed, 36 insertions(+), 1 deletion(-) diff --git a/.github/workflows/db-migration-backwards-compatibility.yaml b/.github/workflows/db-migration-backwards-compatibility.yaml index adcc34c96..f627bd013 100644 --- a/.github/workflows/db-migration-backwards-compatibility.yaml +++ b/.github/workflows/db-migration-backwards-compatibility.yaml @@ -192,6 +192,15 @@ jobs: tail: true wait-for: 30s log-output-if: true + - name: Start run-cron-jobs in background + uses: JarvusInnovations/background-action@v1.0.7 + with: + run: pnpm -C apps/backend run run-cron-jobs --log-order=stream & + wait-on: | + http://localhost:8102 + tail: true + wait-for: 30s + log-output-if: true - name: Wait 10 seconds run: sleep 10 @@ -230,4 +239,3 @@ jobs: steps: - name: No migration changes detected run: echo "No changes to migrations folder detected. Skipping backwards compatibility test." - diff --git a/.github/workflows/e2e-api-tests.yaml b/.github/workflows/e2e-api-tests.yaml index c59c38879..81f50f171 100644 --- a/.github/workflows/e2e-api-tests.yaml +++ b/.github/workflows/e2e-api-tests.yaml @@ -140,6 +140,15 @@ jobs: tail: true wait-for: 30s log-output-if: true + - name: Start run-cron-jobs in background + uses: JarvusInnovations/background-action@v1.0.7 + with: + run: pnpm -C apps/backend run run-cron-jobs --log-order=stream & + wait-on: | + http://localhost:8102 + tail: true + wait-for: 30s + log-output-if: true - name: Wait 10 seconds run: sleep 10 diff --git a/.github/workflows/e2e-custom-base-port-api-tests.yaml b/.github/workflows/e2e-custom-base-port-api-tests.yaml index 14802828f..2be786b6c 100644 --- a/.github/workflows/e2e-custom-base-port-api-tests.yaml +++ b/.github/workflows/e2e-custom-base-port-api-tests.yaml @@ -134,6 +134,15 @@ jobs: tail: true wait-for: 30s log-output-if: true + - name: Start run-cron-jobs in background + uses: JarvusInnovations/background-action@v1.0.7 + with: + run: pnpm -C apps/backend run run-cron-jobs --log-order=stream & + wait-on: | + http://localhost:6702 + tail: true + wait-for: 30s + log-output-if: true - name: Wait 10 seconds run: sleep 10 diff --git a/.github/workflows/e2e-source-of-truth-api-tests.yaml b/.github/workflows/e2e-source-of-truth-api-tests.yaml index cb036f26c..edf8a929f 100644 --- a/.github/workflows/e2e-source-of-truth-api-tests.yaml +++ b/.github/workflows/e2e-source-of-truth-api-tests.yaml @@ -140,6 +140,15 @@ jobs: tail: true wait-for: 30s log-output-if: true + - name: Start run-cron-jobs in background + uses: JarvusInnovations/background-action@v1.0.7 + with: + run: pnpm -C apps/backend run run-cron-jobs --log-order=stream & + wait-on: | + http://localhost:8102 + tail: true + wait-for: 30s + log-output-if: true - name: Wait 10 seconds run: sleep 10