Skip to content

Commit 9b5c186

Browse files
committed
wait instead of curl polling, + coverage_core=sysmon
1 parent a44bd24 commit 9b5c186

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/backend-ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,7 @@ jobs:
7676

7777
- name: Start services
7878
run: |
79-
docker compose -f docker-compose.ci.yaml up -d --remove-orphans
80-
docker compose -f docker-compose.ci.yaml ps
81-
82-
- name: Wait for backend
83-
run: |
84-
curl --retry 60 --retry-delay 5 --retry-all-errors -ksf https://127.0.0.1:443/api/v1/health/live
79+
docker compose -f docker-compose.ci.yaml up -d --remove-orphans --wait --wait-timeout 180
8580
docker compose -f docker-compose.ci.yaml ps
8681
kubectl get pods -A -o wide
8782
@@ -95,6 +90,7 @@ jobs:
9590
MONGODB_PORT: 27017
9691
MONGODB_URL: mongodb://root:[email protected]:27017/?authSource=admin
9792
SCHEMA_SUBJECT_PREFIX: "ci.${{ github.run_id }}."
93+
COVERAGE_CORE: sysmon # Python 3.12+ faster coverage instrumentation
9894
run: |
9995
cd backend
10096
uv run pytest tests/integration -v -rs --cov=app --cov-branch --cov-report=xml --cov-report=term

0 commit comments

Comments
 (0)