Skip to content

Commit

Permalink
fix: add change [[ if CI ]] then use local python
Browse files Browse the repository at this point in the history
  • Loading branch information
philipdelorenzo committed Oct 20, 2024
1 parent 114989c commit e769912
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ APP="${DIR}"/../src

run_unit_tests ()
{
"${PY}"/bin/python -m unittest discover ${APP}
if [[ ! -z "${CI}"]]; then
"${PY}"/bin/python -m unittest discover ${APP}
else:
python -m unittest discover ${APP}
fi
}

##### ----------------------------- #####
Expand Down

0 comments on commit e769912

Please sign in to comment.