Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
athornton committed Jan 12, 2024
1 parent 1de5a0c commit aa55b12
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ deps =
-rrequirements/main.txt
-rrequirements/dev.txt

[testenv:coverage-report]
description = Compile coverage from each test run.
skip_install = true
deps = coverage[toml]>=5.0.2
depends =
py-coverage
commands = coverage report

[testenv:lint]
description = Lint codebase by running pre-commit (Black, isort, Flake8)
skip_install = true
Expand All @@ -30,12 +22,15 @@ commands = pre-commit run --all-files
[testenv:py]
description = Run pytest
commands =
pytest -vv {posargs}
pytest -vv {posargs} --cov=giftless

[testenv:py-coverage]
description = Run pytest with Docker prerequisites and coverage analysis
commands =
pytest -vv --cov=giftless --cov-branch --cov-report= {posargs}
[testenv:coverage-report]
description = Compile coverage from each test run.
skip_install = true
deps = coverage[toml]>=5.0.2
depends =
py-coverage
commands = coverage report

[testenv:docs]
description = Build documentation (HTML) with Sphinx
Expand Down

0 comments on commit aa55b12

Please sign in to comment.