Add definition for test extras
This commit is contained in:
parent
0859524e4f
commit
2099ce43c7
2 changed files with 5 additions and 2 deletions
|
|
@ -38,9 +38,11 @@ classifiers=[
|
|||
[project.optional-dependencies]
|
||||
# Extras used by developers *of* briefcase are pinned to specific versions to
|
||||
# ensure environment consistency.
|
||||
test = [
|
||||
"pytest == 8.3.4",
|
||||
]
|
||||
dev = [
|
||||
"pre-commit == 4.1.0",
|
||||
"pytest == 8.3.4",
|
||||
"ruff == 0.9.6",
|
||||
"setuptools_scm == 8.1.0",
|
||||
"tox == 4.24.1",
|
||||
|
|
@ -53,6 +55,7 @@ Source = "https://github.com/freakboy3742/pyspamsum/"
|
|||
|
||||
[tool.cibuildwheel]
|
||||
test-command = "pytest"
|
||||
test-extras = ["test"]
|
||||
test-sources = ["tests"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -10,6 +10,6 @@ commands = pre-commit run --all-files --show-diff-on-failure --color=always
|
|||
|
||||
[testenv:py{,39,310,311,312,313,314}]
|
||||
depends = pre-commit
|
||||
extras = dev
|
||||
extras = test
|
||||
commands =
|
||||
python -m pytest {posargs:-vv --color yes}
|
||||
|
|
|
|||
Loading…
Reference in a new issue