Skip to content

Commit c9634b3

Browse files
test issue fix
1 parent 8e80006 commit c9634b3

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff 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
@@ -47,7 +43,7 @@ jobs:
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
@@ -58,7 +54,7 @@ jobs:
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

0 commit comments

Comments
 (0)