Skip to content

Commit a749bd2

Browse files
Refactor backend test execution to streamline coverage reporting and suppress unnecessary output
1 parent dcca12e commit a749bd2

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,8 @@ jobs:
5454
if: env.skip_tests == 'false'
5555
run: |
5656
python -m pytest src/tests/backend/test_app.py --cov=backend.app --cov-report= --cov-config=.coveragerc -q > /dev/null 2>&1
57-
pytest_output=$(python -m pytest src/tests/backend --cov=backend --cov-append --cov-report= --cov-config=.coveragerc --ignore=src/tests/backend/test_app.py -q 2>&1 | tail -1)
57+
python -m pytest src/tests/backend --cov=backend --cov-append --cov-report= --cov-config=.coveragerc --ignore=src/tests/backend/test_app.py
5858
python -m coverage report --rcfile=.coveragerc
59-
echo "$pytest_output"
60-
61-
# - name: Run tests with coverage
62-
# if: env.skip_tests == 'false'
63-
# run: |
64-
# pytest --cov=. --cov-report=term-missing --cov-report=xml --ignore=tests/e2e-test/tests
6559
6660
- name: Skip coverage report if no tests
6761
if: env.skip_tests == 'true'

0 commit comments

Comments
 (0)