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]
|
[project.optional-dependencies]
|
||||||
# Extras used by developers *of* briefcase are pinned to specific versions to
|
# Extras used by developers *of* briefcase are pinned to specific versions to
|
||||||
# ensure environment consistency.
|
# ensure environment consistency.
|
||||||
|
test = [
|
||||||
|
"pytest == 8.3.4",
|
||||||
|
]
|
||||||
dev = [
|
dev = [
|
||||||
"pre-commit == 4.1.0",
|
"pre-commit == 4.1.0",
|
||||||
"pytest == 8.3.4",
|
|
||||||
"ruff == 0.9.6",
|
"ruff == 0.9.6",
|
||||||
"setuptools_scm == 8.1.0",
|
"setuptools_scm == 8.1.0",
|
||||||
"tox == 4.24.1",
|
"tox == 4.24.1",
|
||||||
|
|
@ -53,6 +55,7 @@ Source = "https://github.com/freakboy3742/pyspamsum/"
|
||||||
|
|
||||||
[tool.cibuildwheel]
|
[tool.cibuildwheel]
|
||||||
test-command = "pytest"
|
test-command = "pytest"
|
||||||
|
test-extras = ["test"]
|
||||||
test-sources = ["tests"]
|
test-sources = ["tests"]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[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}]
|
[testenv:py{,39,310,311,312,313,314}]
|
||||||
depends = pre-commit
|
depends = pre-commit
|
||||||
extras = dev
|
extras = test
|
||||||
commands =
|
commands =
|
||||||
python -m pytest {posargs:-vv --color yes}
|
python -m pytest {posargs:-vv --color yes}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue