Skip to content

Commit

Permalink
Add test coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
mdales committed Feb 8, 2025
1 parent e788c79 commit 32e81e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install "numpy<2" gdal[numpy]==3.9.2 scikit-image "h3==4.0.0b5"
python -m pip install pylint mypy pytest types-setuptools
python -m pip install pylint mypy pytest types-setuptools pytest-cov
- name: Lint with pylint
run: |
python3 -m pylint yirgacheffe
- name: Test with pytest
run: |
python3 -m pytest -vv
python3 -m pytest --cov=yirgacheffe -vv
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies = [
requires-python = ">=3.10"

[project.optional-dependencies]
dev = ["mypy", "pylint", "pytest", "h3"]
dev = ["mypy", "pylint", "pytest", "h3", "pytest-cov"]

[project.urls]
Homepage = "https://github.com/quantifyearth/yirgacheffe"
Expand Down

0 comments on commit 32e81e0

Please sign in to comment.