File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,11 @@ jobs:
1111 test :
1212 runs-on : ubuntu-latest
1313
14+ # ✅ Provide harmless defaults so imports/config don’t crash
1415 env :
15- # ✅ Provide dummy defaults so env lookups don’t crash
1616 AZURE_OPENAI_ENDPOINT : " https://dummy-openai-endpoint/"
1717 AZURE_AI_SUBSCRIPTION_ID : " 00000000-0000-0000-0000-000000000000"
18+ AZURE_AI_RESOURCE_GROUP : " dummy-rg"
1819
1920 steps :
2021 - name : Checkout code
@@ -25,10 +26,15 @@ jobs:
2526 with :
2627 python-version : ' 3.11'
2728
28- - name : Install dependencies
29+ - name : Install dependencies (incl. bs4)
2930 run : |
3031 python -m pip install --upgrade pip
3132 pip install -r src/backend/requirements.txt
33+ pip install beautifulsoup4
34+
35+ - name : Fix Python path for imports (src/ and src/backend/)
36+ run : |
37+ echo "PYTHONPATH=${GITHUB_WORKSPACE}/src:${GITHUB_WORKSPACE}/src/backend:${PYTHONPATH}" >> $GITHUB_ENV
3238
3339 - name : Check if test files exist
3440 id : check_tests
You can’t perform that action at this time.
0 commit comments