mirror of
https://github.com/Hopiu/djLint.git
synced 2026-05-01 10:24:45 +00:00
28 lines
491 B
INI
28 lines
491 B
INI
[tox]
|
|
envlist =
|
|
clean,
|
|
py{36,37,38,39}
|
|
cov
|
|
skip_missing_interpreters = True
|
|
isolated_build = True
|
|
|
|
[testenv:clean]
|
|
skip_install: true
|
|
deps = coverage
|
|
commands = coverage erase
|
|
|
|
[testenv]
|
|
deps = .[test]
|
|
commands =
|
|
pytest -n 0 --cov --cov-append --cov-report=term-missing --disable-warnings --junitxml=report.xml
|
|
depends =
|
|
py{36,37,38,39}: clean
|
|
cov: py{36,37,38,39}
|
|
|
|
|
|
[testenv:cov]
|
|
skip_install: true
|
|
deps = coverage
|
|
commands =
|
|
coverage report -m
|
|
coverage xml
|