Skip to content

Commit

Permalink
Integrate diff-cover in the testing workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
  • Loading branch information
abompard committed Apr 11, 2024
1 parent c2b356d commit 02aa788
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 4 deletions.
1 change: 1 addition & 0 deletions news/+diff-cover.dev
@@ -0,0 +1 @@
Integrate diff-cover in the testing workflow
36 changes: 33 additions & 3 deletions poetry.lock

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

3 changes: 2 additions & 1 deletion pyproject.toml
Expand Up @@ -33,7 +33,7 @@ include = [
]

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.8.10"
blinker = "^1.5"
click = "^8.0.3"
crochet = ">=1.12.0"
Expand Down Expand Up @@ -61,6 +61,7 @@ towncrier = "^23.6.0"
treq = "^22.2.0 || ^23.0.0"
twisted = ">22.4.0"
ruff = ">=0.3.4"
diff-cover = ">=8.0.3"


[tool.poetry.scripts]
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Expand Up @@ -20,6 +20,7 @@ commands =
unittest: poetry run coverage report -m
unittest: poetry run coverage xml
unittest: poetry run coverage html
unittest: poetry run diff-cover --compare-branch origin/develop --fail-under 100 coverage.xml
integration: poetry run pytest -vv tests/integration {posargs}

[testenv:docs]
Expand Down

0 comments on commit 02aa788

Please sign in to comment.