From 5bd81d12c01c106735d8a46e596c5f7c2c731b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20Flore-Th=C3=A9bault?= Date: Tue, 29 Jan 2019 11:22:48 +0100 Subject: [PATCH] Parallelize unit tests on the pytest level It won't be a huge gain, maybe only 5 minutes in total, because we are targeting 3 to 4 minutes jobs, and travis runners have only 2 cores. PR #1706. Ref #1669. Signed-off-by: Fabrice Flore-Thebault --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c0278a4233..bd33b7abc2 100644 --- a/tox.ini +++ b/tox.ini @@ -41,7 +41,7 @@ extras = openstack vagrant commands = - unit: pytest test/unit/ --cov={toxinidir}/molecule/ --no-cov-on-fail {posargs} + unit: pytest test/unit/ --cov={toxinidir}/molecule/ --no-cov-on-fail -n auto {posargs} functional: pytest test/functional/ {posargs} lint: flake8 lint: yamllint -s test/ molecule/