Skip to content

Commit

Permalink
feat(deps): support coverage[toml] reports by default
Browse files Browse the repository at this point in the history
Thanks @thombashi for the suggestion!
  • Loading branch information
TheKevJames committed Apr 26, 2024
1 parent 05bb20d commit 962e224
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -32,7 +32,7 @@ python-coveralls = "coveralls.cli:main"

[tool.poetry.dependencies]
python = ">=3.8,<3.13"
coverage = ">=5.0,<7.5,!=6.0.*,!=6.1,!=6.1.1"
coverage = { version = ">=5.0,<7.5,!=6.0.*,!=6.1,!=6.1.1", extras = ["toml"] }
docopt = ">=0.6.1,<0.7.0"
requests = ">=1.0.0,<3.0.0"

Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Expand Up @@ -16,15 +16,15 @@ deps =
responses==0.25.0
pytest==8.1.1
pyyaml: PyYAML>=3.10,<7.0
cov5: coverage>=5.0,<6.0
cov6: coverage>=6.0,<7.0
cov7: coverage>=7.0,<7.5
cov5: coverage[toml]>=5.0,<6.0
cov6: coverage[toml]>=6.0,<7.0
cov7: coverage[toml]>=7.0,<7.5
commands =
coverage run --branch --source=coveralls -m pytest tests/
coverage report -m

[testenv:upload]
deps =
coverage>=7.0,<8.0
coverage[toml]>=7.0,<8.0
commands =
coveralls --verbose

0 comments on commit 962e224

Please sign in to comment.