From 45c5a795b4b83e3e6bb4229867ef4592039e9c40 Mon Sep 17 00:00:00 2001 From: Nicholas Bianco Date: Fri, 20 Sep 2024 15:45:23 -0700 Subject: [PATCH] Set PYTHONPATH in same step as tests --- .github/workflows/continuous_integration.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index dcdd7e7..95f4c5f 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -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' \ No newline at end of file + run: | + echo "PYTHONPATH=D:/a/AddBiomechanics/AddBiomechanics/server/engine/src" >> $GITHUB_ENV + python -m unittest discover -s server/engine/tests/ -p '*.py' \ No newline at end of file