mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 01:51:46 +04:00
test languages only when they are changed
This commit is contained in:
parent
1054afd978
commit
9655158d93
4 changed files with 163 additions and 33 deletions
4
tox.ini
4
tox.ini
|
|
@ -6,8 +6,8 @@ deps = -rrequirements-dev.txt
|
|||
passenv = *
|
||||
commands =
|
||||
coverage erase
|
||||
coverage run -m pytest {posargs:tests}
|
||||
coverage report
|
||||
coverage run -m pytest {posargs:tests} --ignore=tests/languages
|
||||
coverage report --omit=pre_commit/languages/*,tests/languages/*
|
||||
|
||||
[testenv:pre-commit]
|
||||
skip_install = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue