mirror of
https://github.com/ceph/ceph
synced 2025-01-20 18:21:57 +00:00
Merge pull request #21485 from tchaikov/wip-tox
test/dashboard: hardcode .coverage path to workaround tox bugs Reviewed-by: Ricardo Dias <rdias@suse.com>
This commit is contained in:
commit
fdbc1e6d7c
@ -14,11 +14,10 @@ setenv=
|
||||
py27: PYTHONPATH = {toxinidir}/../../../../build/lib/cython_modules/lib.2
|
||||
py3: PYTHONPATH = {toxinidir}/../../../../build/lib/cython_modules/lib.3
|
||||
cov: UNITTEST = true
|
||||
cov: COVERAGE_FILE = .coverage.{envname}
|
||||
commands=
|
||||
cov: coverage erase
|
||||
cov: {envbindir}/py.test --cov=. --cov-report= --junitxml=junit.{envname}.xml --doctest-modules controllers/rbd.py services/ tests/ tools.py
|
||||
cov: coverage combine {toxinidir}/{env:COVERAGE_FILE}
|
||||
cov: coverage combine {toxinidir}/.coverage
|
||||
cov: coverage report
|
||||
cov: coverage xml
|
||||
lint: pylint --rcfile=.pylintrc --jobs=5 . module.py tools.py controllers tests services
|
||||
|
Loading…
Reference in New Issue
Block a user