Skip to content

Commit

Permalink
Set PYTHONPATH in same step as tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbianco committed Sep 20, 2024
1 parent 5227cca commit 45c5a79
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
- name: Install dependencies
run: python3 -m pip install -r server/engine/requirements.txt

- name: Add engine to path
run: echo "PYTHONPATH=D:/a/AddBiomechanics/AddBiomechanics/server/engine/src" >> $GITHUB_ENV

- name: Run tests
run: python -m unittest discover -s server/engine/tests/ -p '*.py'
run: |
echo "PYTHONPATH=D:/a/AddBiomechanics/AddBiomechanics/server/engine/src" >> $GITHUB_ENV
python -m unittest discover -s server/engine/tests/ -p '*.py'

0 comments on commit 45c5a79

Please sign in to comment.