Skip to content

Commit 24a1b53

Browse files
committed
path
1 parent 5ce85ac commit 24a1b53

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ jobs:
116116
continue-on-error: true
117117
run: |
118118
poetry env use 3.11
119+
PYTHONPATH=redis_sync/src:redis_sync/tests \
120+
export PYTHONPATH
121+
export PYTHONPATH=$PYTHONPATH:$(pwd)/redis_sync/src:$(pwd)/redis_sync/tests
122+
echo "PYTHONPATH is set to: $PYTHONPATH"
123+
echo "Running tests in redis_sync directory"
124+
echo "Current working directory: $(pwd)"
119125
poetry install
120126
poetry run coverage run -m unittest discover || echo "redis_sync tests failed" >> ../failed_tests.txt
121127
poetry run coverage xml -o ../sonarcloud-redis_sync-coverage.xml

0 commit comments

Comments
 (0)