Skip to content

Commit 65dafb3

Browse files
committed
fix : python coverage
1 parent 900393b commit 65dafb3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ jobs:
8585
- name: Run Python coverage
8686
run: |
8787
cd ratspy
88+
# Set PYTHONPATH to include the ratspy directory
89+
export PYTHONPATH=$PWD/ratspy:$PYTHONPATH
90+
# Run coverage
8891
coverage run --source=ratspy -m pytest tests/
8992
coverage xml -o ../coverage/python-coverage.xml
9093
coverage report

0 commit comments

Comments
 (0)