Skip to content

Commit

Permalink
Adds a listing of installed versions via pip before coverage run
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpylog committed Oct 16, 2023
1 parent 1003a59 commit b956f69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ dependencies = [

[tool.hatch.envs.default.scripts]
version = "python3 --version"
pip-list = "pip list"
test = "pytest --pythonwarnings=all {args:tests}"
test-cov = "coverage run -m pytest --pythonwarnings=all {args:tests}"
cov-clear = "coverage erase"
Expand All @@ -76,13 +77,13 @@ cov-html = "coverage html"
cov-json = "coverage json"
cov = [
"version",
"pip-list",
"cov-clear",
"test-cov",
"cov-report",
"cov-json",
"cov-html"
]
pip-list = "pip list"

[[tool.hatch.envs.all.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
Expand Down

0 comments on commit b956f69

Please sign in to comment.