Skip to content

Commit

Permalink
Merge pull request #19 from chainyo/add-args-to-tests
Browse files Browse the repository at this point in the history
Include `{args:tests}` in `tests` script for `hatch`
  • Loading branch information
alvarobartt committed Sep 7, 2023
2 parents 528cc2e + a70c5d0 commit 251da20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ features = [
]

[tool.hatch.envs.tests.scripts]
run = "pytest --cov=REPLACE_PACKAGE_NAME --cov-report=term-missing tests/ --durations 0 -s"
run = "pytest --cov=REPLACE_PACKAGE_NAME --cov-report=term-missing tests/ --durations 0 -s {args:tests}"

[[tool.hatch.envs.tests.matrix]]
python = ["38", "39", "310", "311"]
Expand Down

0 comments on commit 251da20

Please sign in to comment.