test languages only when they are changed

This commit is contained in:
Anthony Sottile 2023-02-20 17:00:05 -05:00
parent 1054afd978
commit 9655158d93
4 changed files with 163 additions and 33 deletions

View file

@ -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