Parallelize pytest runs in Makefile
This commit is contained in:
parent
0501e0b996
commit
5ce15348ea
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -43,19 +43,19 @@ conf/stack/license: $(QUAY_CONFIG)/local/license
|
||||||
ln -s $(QUAY_CONFIG)/local/license conf/stack/license
|
ln -s $(QUAY_CONFIG)/local/license conf/stack/license
|
||||||
|
|
||||||
unit-test:
|
unit-test:
|
||||||
TEST=true PYTHONPATH="." py.test \
|
TEST=true PYTHONPATH="." py.test -n 2 \
|
||||||
--cov="." --cov-report=html --cov-report=term-missing \
|
--cov="." --cov-report=html --cov-report=term-missing \
|
||||||
--timeout=3600 --verbose -x \
|
--timeout=3600 --verbose -x \
|
||||||
./
|
./
|
||||||
|
|
||||||
registry-test:
|
registry-test:
|
||||||
TEST=true PYTHONPATH="." py.test \
|
TEST=true PYTHONPATH="." py.test -n 2 \
|
||||||
--cov="." --cov-report=html --cov-report=term-missing \
|
--cov="." --cov-report=html --cov-report=term-missing \
|
||||||
--timeout=3600 --verbose --show-count -x \
|
--timeout=3600 --verbose --show-count -x \
|
||||||
test/registry/registry_tests.py
|
test/registry/registry_tests.py
|
||||||
|
|
||||||
registry-test-old:
|
registry-test-old:
|
||||||
TEST=true PYTHONPATH="." py.test \
|
TEST=true PYTHONPATH="." py.test -n 2 \
|
||||||
--cov="." --cov-report=html --cov-report=term-missing \
|
--cov="." --cov-report=html --cov-report=term-missing \
|
||||||
--timeout=3600 --verbose --show-count -x \
|
--timeout=3600 --verbose --show-count -x \
|
||||||
./test/registry_tests.py
|
./test/registry_tests.py
|
||||||
|
|
Reference in a new issue