Skip to content

Commit dd0bc0e

Browse files
committed
Added step to setup PYTHONPATH
1 parent 530734f commit dd0bc0e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/test-coverage.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ jobs:
2424
pip install --upgrade pip
2525
pip install -r requirements.txt
2626
pip install pytest pytest-cov
27-
27+
- name: Set PYTHONPATH
28+
run: echo "PYTHONPATH=$(pwd)" >> $GITHUB_ENV
2829
- name: Run tests with coverage
29-
env:
30-
PYTHONPATH: ${{ github.workspace }}
3130
run: pytest --cov=src --cov-report=xml --cov-fail-under=80
3231

3332
- name: Upload coverage report

0 commit comments

Comments
 (0)