diff --git a/pyproject.toml b/pyproject.toml index 3458c6d..02e6e27 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,8 @@ changelog = "https://github.com/pytest-dev/pytest-github-actions-annotate-failur [project.entry-points.pytest11] pytest_github_actions_annotate_failures = "pytest_github_actions_annotate_failures.plugin" -[project.optional-dependencies] +[dependency-groups] +dev = [{ include-group = "test"}] test = ["packaging"] diff --git a/tox.ini b/tox.ini index bc948ac..f743182 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,8 @@ PYTEST_MAJOR_VERSION = 8: pytest8 [testenv] -extras = test +min_version = 4.22.0 +groups = test deps = pytest6: pytest>=6.0.0,<7.0.0 pytest7: pytest>=7.0.0,<8.0.0