Skip to content

Commit

Permalink
add pytest-cov
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenpawley committed Jun 1, 2024
1 parent 2ba8fff commit 0ca5cfd
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Test with pytest
run: |
poetry run pytest --cov=Pyspatialml --cov-report=xml
poetry run pytest --cov-report=xml
- name: "Upload Report to Codecov"
uses: codecov/codecov-action@v3
Expand Down
23 changes: 22 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ black = "^24.4.2"

[tool.poetry.group.test.dependencies]
pytest = "^8.2.0"
pytest-cov = "^5.0.0"
coverage = "^7.5.3"

[build-system]
Expand Down

0 comments on commit 0ca5cfd

Please sign in to comment.