Skip to content

Commit 55b2d6d

Browse files
authored
tests: use extra for tests (#92)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 6d4526e commit 55b2d6d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ changelog = "https://github.com/pytest-dev/pytest-github-actions-annotate-failur
5050
[project.entry-points.pytest11]
5151
pytest_github_actions_annotate_failures = "pytest_github_actions_annotate_failures.plugin"
5252

53+
[project.optional-dependencies]
54+
test = ["packaging"]
55+
5356

5457
[tool.ruff.lint]
5558
extend-select = [

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ PYTEST_MAJOR_VERSION =
1818
8: pytest8
1919

2020
[testenv]
21+
extras = test
2122
deps =
22-
-rrequirements.txt
2323
pytest6: pytest>=6.0.0,<7.0.0
2424
pytest7: pytest>=7.0.0,<7.4.0
2525
pytest8: pytest>=8.0.0,<9.0.0

0 commit comments

Comments
 (0)