Merge pull request #2263 from coreos-inc/FIX-test-runner
fix(setup.cfg): test only our stuff
This commit is contained in:
commit
e658941a43
2 changed files with 5 additions and 3 deletions
|
@ -157,13 +157,14 @@ RUN if [ "$RUN_TESTS" = true ]; then \
|
|||
venv/bin/pip install -r requirements-tests.txt ;\
|
||||
fi
|
||||
|
||||
|
||||
RUN if [ "$RUN_TESTS" = true ]; then \
|
||||
TEST=true PYTHONPATH="." venv/bin/py.test --timeout=3600 --verbose \
|
||||
TEST=true PYTHONPATH="." venv/bin/py.test --timeout=7200 --verbose \
|
||||
--show-count -x --color=no ./; \
|
||||
fi
|
||||
|
||||
RUN if [ "$RUN_TESTS" = true ]; then \
|
||||
TEST=true PYTHONPATH="." venv/bin/py.test --timeout=3600 --verbose \
|
||||
TEST=true PYTHONPATH="." venv/bin/py.test --timeout=7200 --verbose \
|
||||
--show-count -x --color=no test/registry_tests.py ; \
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[tool:pytest]
|
||||
norecursedirs = .* *.egg build dist docs
|
||||
norecursedirs = .* *.egg build dist docs bin boot core dev etc home lib lib64 media mnt node_modules opt proc root run sbin srv sys tmp usr var venv
|
||||
testpaths = ./
|
||||
python_files = **/test/*.py test/**.py
|
||||
|
||||
[coverage:run]
|
||||
branch = True
|
||||
|
|
Reference in a new issue