File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,21 +50,11 @@ jobs:
5050 echo "skip_tests=false" >> $GITHUB_ENV
5151 fi
5252
53- - name : Run app.py tests separately (requires isolation due to mocking)
54- if : env.skip_tests == 'false'
55- run : |
56- set +x
57- python -m pytest src/tests/backend/test_app.py --cov=backend.app --cov-report= --cov-config=.coveragerc -q > /dev/null 2>&1 || true
58- echo "✓ app.py tests completed"
59-
60- - name : Run all other backend tests with coverage
53+ - name : Run backend tests with coverage
6154 if : env.skip_tests == 'false'
6255 run : |
56+ python -m pytest src/tests/backend/test_app.py --cov=backend.app --cov-report= --cov-config=.coveragerc -q > /dev/null 2>&1
6357 python -m pytest src/tests/backend --cov=backend --cov-append --cov-report= --cov-config=.coveragerc --ignore=src/tests/backend/test_app.py -q
64-
65- - name : Generate combined coverage report
66- if : env.skip_tests == 'false'
67- run : |
6858 python -m coverage report --rcfile=.coveragerc
6959
7060 # - name: Run tests with coverage
You can’t perform that action at this time.
0 commit comments