Skip to content

Commit

Permalink
Use venv's python executable
Browse files Browse the repository at this point in the history
Current ci_build.sh uses the global python executable. If pytest and flake8 are not globally installed `mvn test` will fail. This commit fixes that.
  • Loading branch information
ab-10 authored Dec 4, 2023
1 parent 7f5acc9 commit ba8a150
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dmn-tck-it/dmn-tck-it-python-translator/ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fi
pwd
ls -la

python -m pytest
.venv/bin/python -m pytest
status=$?
if [ $status -eq 0 ]
then
Expand All @@ -27,7 +27,7 @@ else
echo "pytest failed"
exit 1
fi
python -m flake8
.venv/bin/python -m flake8
status=$?
if [ $status -eq 0 ]
then
Expand Down

0 comments on commit ba8a150

Please sign in to comment.