Add definition for test extras

This commit is contained in:
Russell Keith-Magee 2025-02-19 12:45:23 +08:00
parent 0859524e4f
commit 2099ce43c7
No known key found for this signature in database
GPG key ID: 3D2DAB6A37BB5BC3
2 changed files with 5 additions and 2 deletions

View file

@ -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]

View file

@ -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}