Skip to content

Commit

Permalink
added python path if it does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
smythi93 committed Jul 25, 2024
1 parent 0fffb58 commit 71774ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sflkit/runners/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ def get_tests(
environ["SFLKIT_PYTEST_COLLECTION_FINISH_FILE"] = str(tmp)
if "PYTHONPATH" in environ:
environ["PYTHONPATH"] = str(directory) + ":" + environ["PYTHONPATH"]
else:
environ["PYTHONPATH"] = str(directory)
process = subprocess.run(
[
"python3",
Expand Down

0 comments on commit 71774ad

Please sign in to comment.