Skip to content

Commit 0ee153b

Browse files
ch9 CI: set PYTHONPATH to repo root for imports
1 parent 20a7a73 commit 0ee153b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ch9.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@ jobs:
3434
pip install numpy>=1.23 matplotlib>=3.7 pytest
3535
3636
- name: Run Chapter 9 tests
37+
shell: bash
3738
run: |
38-
pytest -q ch9_model_based_planning/tests/test_ch9_mbrl.py
39+
export PYTHONPATH="$GITHUB_WORKSPACE"
40+
python -m pytest -q ch9_model_based_planning/tests/test_ch9_mbrl.py

0 commit comments

Comments
 (0)