Skip to content

Commit

Permalink
added PYTHONPATH for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryMcGuinness-NOAA committed May 29, 2024
1 parent 2cc2fe2 commit 7407f4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
cd "${GITHUB_WORKSPACE}/ci/scripts" || exit 1
[[ -s "wxflow" ]] && rm -f wxflow
ln -fs "${GITHUB_WORKSPACE}/sorc/wxflow/src/wxflow" .
export PYTHONPATH="${GITHUB_WORKSPACE}/sorc/wxflow/src/wxflow:${GITHUB_WORKSPACE}/workflow:${GITHUB_WORKSPACE}/ci/scripts:${PYTHONPATH}"
cd $GITHUB_WORKSPACE/ci/scripts/tests
pytest -v --junitxml $GITHUB_WORKSPACE/ci/scripts/tests/test-results.xml
Expand Down

0 comments on commit 7407f4e

Please sign in to comment.