All checks were successful
Run tests / Execute tox to run the test suite (push) Successful in 2m40s
30 lines
679 B
INI
30 lines
679 B
INI
[tox]
|
|
envlist = fresh, coverage
|
|
|
|
[testenv]
|
|
setenv =
|
|
PYTHONPATH = .
|
|
deps = -r{toxinidir}/requirements.txt
|
|
selenium
|
|
commands_pre = python --version
|
|
python -m django --version
|
|
commands = python tests
|
|
|
|
[testenv:fast]
|
|
description = Only run the testsuite
|
|
|
|
[testenv:fresh]
|
|
description = Run tests in freshly created environment (with coverage)
|
|
recreate = true
|
|
deps = {[testenv]deps}
|
|
coverage
|
|
commands_pre = {[testenv]commands_pre}
|
|
python -m coverage --version
|
|
commands = python -m coverage run tests
|
|
|
|
[testenv:coverage]
|
|
description = Report test coverage
|
|
deps = {[testenv:fresh]deps}
|
|
commands = python -m coverage report --skip-covered
|
|
|