Skip to content

Commit 00029b9

Browse files
authored
Update integration-tests.yml
1 parent f57b360 commit 00029b9

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/integration-tests.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,21 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- uses: actions/setup-node@v4
2727
with:
28-
node-version: 20
28+
node-version: '20'
2929
- run: npm ci
30+
31+
# Check if the requirements.txt file exists before trying to install Python deps
32+
- name: Install Python deps (if requirements.txt exists)
33+
run: |
34+
if [ -f "backend/requirements.txt" ]; then
35+
pip install -r backend/requirements.txt
36+
else
37+
echo "No requirements.txt found, skipping pip install"
38+
fi
39+
3040
- name: Start backend (FastAPI) in background
3141
run: |
32-
pip install -r backend/requirements.txt
3342
uvicorn backend.app:app --host 0.0.0.0 --port 8000 &
43+
3444
- name: Run integration tests
3545
run: npm run test:integration

0 commit comments

Comments
 (0)