Skip to content

Commit

Permalink
use PYTHONPATH instead of pth
Browse files Browse the repository at this point in the history
  • Loading branch information
inakleinbottle committed Jan 23, 2024
1 parent 379c69a commit 7d3e941
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ jobs:
ninja \
pytest \
pybind11
pth="$(python -m site --user-site)/roughpy.pth"
echo "import sys; sys.path.insert(0, '${{github.workspace}}')" >> $pth
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand All @@ -85,3 +84,5 @@ jobs:

- name: PyTests
run: pytest tests
env:
PYTHONPATH: ${{ github.workspace }}

0 comments on commit 7d3e941

Please sign in to comment.