forked from terrapower/armi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (40 loc) · 944 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[tox]
envlist = py37,lint,cov
# need pip at least with --prefer-binary
requires =
pip >= 20.2
[testenv]
basepython = {env:PYTHON3_PATH:python3}
deps=
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-testing.txt
setenv =
PYTHONPATH = {toxinidir}
USERNAME = armi
commands =
pytest --ignore=armi/utils/tests/test_gridGui.py {posargs} armi
[testenv:cov]
deps=
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-testing.txt
commands =
pytest --cov-config=.coveragerc --cov=armi --ignore=armi/utils/tests/test_gridGui.py {posargs} armi
[testenv:lint]
ignore_errors = true
commands =
- pylint armi --rcfile={toxinidir}/pylintrc
[testenv:report]
skip_install = true
deps=
coveralls
commands =
coverage report
coverage html
coveralls --service=github
depends =
cov
passenv = TOXENV CI GITHUB_*
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase