Skip to content

Commit 5751169

Browse files
committed
ci: fix fail to generate coverage report due to missing pythonpath
1 parent ff48c3e commit 5751169

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/coverage.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ jobs:
2626
pip install pytest
2727
2828
- name: Generate Coverage Report
29+
env:
30+
PYTHONPATH: ./src
2931
run: |
3032
coverage run -m pytest tests/
3133
coverage xml
3234
3335
- name: Upload Report to Coveralls
3436
env:
35-
PYTHONPATH: ./src
3637
GITHUB_TOKEN: ${{ secrets. GITHUB_TOKEN }}
3738
run: coveralls
3839

0 commit comments

Comments
 (0)