Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroJJimenez committed Nov 24, 2024
1 parent fa07a31 commit 8e09426
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,4 @@ jobs:
- name: Run tests
run: |
if [ $RUNNER_OS == 'Windows' ]; then
set PYTHONPATH=${{ github.workspace }}/vectormath
pytest tests
else
PYTHONPATH=. pytest tests
fi
shell: bash
pytest tests/
5 changes: 5 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import sys
import os

# Dynamically add the `vectormath` directory to sys.path
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../')))

0 comments on commit 8e09426

Please sign in to comment.