Skip to content

Commit

Permalink
set env to import correct code in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
katosh committed Oct 4, 2023
1 parent db176f7 commit 9794a02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
env:
PYTHONPATH: ./src/
run: |
coverage run --source=src/palantir/ -m pytest tests/*.py
- name: Upload coverage reports to Codecov
Expand Down

0 comments on commit 9794a02

Please sign in to comment.