Fix: Run both sonar and clm scans in parallel
[ccsdk/cds.git] / ms / py-executor / tox.ini
1 [tox]
2 envlist=py37,py38
3 skipsdist=True
4 [testenv]
5 setenv =
6     CONFIGURATION = {toxinidir}/../configuration-local.ini
7 deps =
8     -rrequirements/test.txt
9 commands = pytest resource_resolution/
10 [testenv:codelint]
11 deps =
12     black
13 commands = black -l 120 --check {posargs:.}
14 [testenv:doclint]
15 deps =
16     flake8-docstrings
17 commands = flake8 --doctest --docstring-convention google --max-line-length 120 --exclude .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,*test.py --select=D {posargs:.}
18 [testenv:coverage]
19 basepython = python3.7
20 setenv = 
21     CONFIGURATION = {toxinidir}/../configuration-local.ini
22 deps =
23     -rrequirements/test.txt
24     pytest-cov
25 commands = pytest --cov=manager --cov=resource_resolution --cov-fail-under=60 --cov-config={toxinidir}/.coveragerc resource_resolution/