Skip to content

Commit 0c8dd4b

Browse files
test: fixed test pipeline
2 parents 1592bd5 + b7863c6 commit 0c8dd4b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Test with pytest
3030
run: |
3131
export PYTHONPATH=$(pwd)/src
32-
pytest -v --show-capture=stdout -k "not integration"
32+
pytest -v --show-capture=stdout -k "not integration" ./src/tests
3333
3434
test_windows:
3535
runs-on:
@@ -47,4 +47,4 @@ jobs:
4747
- name: Test with pytest
4848
run: |
4949
$env:PYTHONPATH="$pwd\src"
50-
pytest -v --show-capture=stdout -k "not integration"
50+
pytest -v --show-capture=stdout -k "not integration" ./src/tests

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
3636
- name: Run Backend Tests with Coverage
3737
run: |
38-
if python -m pytest --cov=. --cov-report=xml --cov-report=html --cov-report=term-missing --junitxml=coverage-junit.xml; then
38+
if python -m pytest --cov=. --cov-report=xml --cov-report=html --cov-report=term-missing --junitxml=coverage-junit.xml ./src/tests; then
3939
echo "Tests completed, checking coverage."
4040
# Only fail if coverage does not meet criteria
4141
if [ -f coverage.xml ]; then

0 commit comments

Comments
 (0)