File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,14 +30,10 @@ jobs:
3030 with :
3131 python-version : " 3.11"
3232
33- - name : Login to Azure
34- run : |
35- az login --service-principal -u ${{ secrets.AZURE_MAINTENANCE_CLIENT_ID }} -p ${{ secrets.AZURE_MAINTENANCE_CLIENT_SECRET }} --tenant ${{ secrets.AZURE_TENANT_ID }}
36-
3733 - name : Install Backend Dependencies
3834 run : |
3935 python -m pip install --upgrade pip
40- pip install -r src/ContentProcessorAPI /requirements.txt
36+ pip install -r src/ContentProcessor /requirements.txt
4137 pip install pytest-cov
4238 pip install pytest-asyncio
4339
4743 - name : Check if Backend Test Files Exist
4844 id : check_backend_tests
4945 run : |
50- if [ -z "$(find src/ContentProcessorAPI/app /tests -type f -name 'test_*.py')" ]; then
46+ if [ -z "$(find src/ContentProcessor/src /tests -type f -name 'test_*.py')" ]; then
5147 echo "No backend test files found, skipping backend tests."
5248 echo "skip_backend_tests=true" >> $GITHUB_ENV
5349 else
5854 - name : Run Backend Tests with Coverage
5955 if : env.skip_backend_tests == 'false'
6056 run : |
61- cd src/ContentProcessorAPI
57+ cd src/ContentProcessor
6258 python -m pytest -vv --cov=. --cov-report=xml --cov-report=term-missing --cov-fail-under=80
6359
6460 - name : Skip Backend Tests
You can’t perform that action at this time.
0 commit comments