From 435fc83becdbe714864a4220f397d591a62c664e Mon Sep 17 00:00:00 2001 From: Prince D Rusweka Rwabongoya Date: Sun, 27 Apr 2025 23:37:02 -0400 Subject: [PATCH] Update backend-ci.yml --- .github/workflows/backend-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/backend-ci.yml b/.github/workflows/backend-ci.yml index 82cc32e..20f9378 100644 --- a/.github/workflows/backend-ci.yml +++ b/.github/workflows/backend-ci.yml @@ -63,7 +63,7 @@ jobs: - name: Start backend server (background) run: | - uvicorn main:app --host 0.0.0.0 --port 5000 & + python main.py & for i in {1..10}; do curl -s http://localhost:5000/api/pets && break || sleep 2 done