Skip to content

Commit

Permalink
Add pytest-cov to test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed Mar 28, 2024
1 parent 7a64702 commit 403e677
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
pip-
- name: Install dependencies
run: pip install ".[dev]"
run: pip install ".[test]"

- name: Run pytest
run: pytest --cov=./ --cov-report=xml
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ path = "src/corppa/__init__.py"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov"
]
dev = ["pre-commit", "corppa[test]"]
dev = ["pre-commit", "corppa[test]"]

0 comments on commit 403e677

Please sign in to comment.