Skip to content

Commit

Permalink
Do not set pythonpath globally
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Nov 18, 2024
1 parent 13fb2f2 commit a754578
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Test
on: [push, pull_request]

env:
PYTHONPATH: ${PYTHONPATH}:/usr/lib/python3/dist-packages/

jobs:
test:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -62,6 +59,7 @@ jobs:
run: |
scripts/build.sh test test normal
- name: Run tests
run: bash ./scripts/run_tests.sh
run: |
export PYTHONPATH=${PYTHONPATH}:/usr/lib/python3/dist-packages/
bash ./scripts/run_tests.sh

0 comments on commit a754578

Please sign in to comment.