File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments