Skip to content

Commit

Permalink
Fix Python path in GitHub Actions workflow for test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dxns-hub committed Dec 5, 2024
1 parent 4f7a40c commit 910d804
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-tests-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
matrix:
python-version: [3.7, 3.8, 3.9]


steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -43,8 +42,10 @@ jobs:
- name: Run tests
run: |
export PYTHONPATH=$PYTHONPATH:$(pwd)
pytest tests/ --cov=src/ --cov-report=xml
- name: Upload coverage report
uses: codecov/codecov-action@v1
with:
Expand Down

0 comments on commit 910d804

Please sign in to comment.