Skip to content

Commit

Permalink
Rework test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
elchupanebrej committed Sep 21, 2024
1 parent 72fb6b3 commit bd4b82e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
15 changes: 11 additions & 4 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,18 @@ version = "0.1.0"
[project.entry-points]

[project.optional-dependencies]
test = [
"GitPython",
test-coverage = [
"coverage",
"importlib_resources",
"packaging",
"tox"
"pytest",
]
test = [
# local
"cucumber-messages[test-coverage]",
# external; Must be in sync with tox.ini
"mypy",
"pre-commit",
"tox>=4.2"
]

generation = [
Expand Down
5 changes: 2 additions & 3 deletions python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ commands =
python -m mypy

[testenv:py{312, 311, 310, 39, 38}-pytest-coverage]
deps =
coverage
pytest
extras =
test-coverage
commands =
coverage run --append -m pytest -vvl

Expand Down

0 comments on commit bd4b82e

Please sign in to comment.