We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ce85ac commit 24a1b53Copy full SHA for 24a1b53
1 file changed
.github/workflows/sonarcloud.yml
@@ -116,6 +116,12 @@ jobs:
116
continue-on-error: true
117
run: |
118
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)"
125
poetry install
126
poetry run coverage run -m unittest discover || echo "redis_sync tests failed" >> ../failed_tests.txt
127
poetry run coverage xml -o ../sonarcloud-redis_sync-coverage.xml
0 commit comments