Skip to content

Commit

Permalink
pytest-cov to generate coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
cyschneck committed Mar 23, 2024
1 parent 32d36a0 commit fb1db6e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Test with pytest
- name: Test with pytest and generate coverage reports
run: |
python -m pytest
python -m pytest --cov
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dependencies:
- pykml
- pyproj
- pytest
- pytest-cov # codecov reports
- scipy
- shapely
- pre-commit # pre-commit hooks
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ pyarrow>=15.0.0
pykml>=0.2.0
pyproj>=3.4.1
pytest>=7.2.2
pytest-cov>=4.1.0
scipy>=1.10.1
shapely>=2.0.1

0 comments on commit fb1db6e

Please sign in to comment.