From a479c256ba8977c518988d6ae3cf0726259cdea8 Mon Sep 17 00:00:00 2001 From: BorjaEst Date: Mon, 30 Nov 2020 14:58:24 +0100 Subject: [PATCH] Add parallel testing --- .gitignore | 1 + .stestr.conf | 3 +++ tox.ini | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .stestr.conf diff --git a/.gitignore b/.gitignore index 91f8b244..8a7bbd61 100644 --- a/.gitignore +++ b/.gitignore @@ -41,6 +41,7 @@ pip-delete-this-directory.txt htmlcov/ .tox/ .nox/ +.stestr/ .coverage .coverage.* .cache diff --git a/.stestr.conf b/.stestr.conf new file mode 100644 index 00000000..6bb1f40c --- /dev/null +++ b/.stestr.conf @@ -0,0 +1,3 @@ +[DEFAULT] +test_path=./eosc_perf/tests +top_dir=./ diff --git a/tox.ini b/tox.ini index 39cc5bb0..c8fb6fb3 100644 --- a/tox.ini +++ b/tox.ini @@ -22,7 +22,7 @@ commands = find . -type f -name "*.pyc" -delete basepython = python3.8 commands = {[testenv]commands} - pytest + stestr -v run {posargs} [testenv:pep8] envdir = {toxworkdir}/shared