diff options
author | Zhao Chao <zhaochao1984@gmail.com> | 2018-04-16 16:59:54 +0800 |
---|---|---|
committer | Zhao Chao <zhaochao1984@gmail.com> | 2018-04-16 16:59:54 +0800 |
commit | 0c9a4fd659af8d8eb19fb39af52a2106b2c307a5 (patch) | |
tree | 45f916bb6431c9ef5265240290446ee84639bf3e /tox.ini | |
parent | 48ac45dae1488491c0ddcf5e2fae3772e4833208 (diff) | |
download | trove-0c9a4fd659af8d8eb19fb39af52a2106b2c307a5.tar.gz |
Run unittests under the low-constraints job
The low-constraints job should run unittests by the original desgin, we
didn't put the commands about running unittests inside the default
testenv settings, so in fact the low-constraints job did nothing except
creating a virtualenv.
This patch fixes and also move the unittests commands to the default
testenv settings like the other OpenStack projects.
Change-Id: Ia344a14a9baf7574b043fc08332869083da6dc1e
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 18 |
1 files changed, 2 insertions, 16 deletions
@@ -19,6 +19,8 @@ deps = -r{toxinidir}/requirements.txt commands = find ./trove -type f -name "*.pyc" -delete rm -f .testrepository/times.dbm rm -f trove_test.sqlite + stestr run --serial '{posargs}' + stestr slowest whitelist_externals = find rm bash @@ -32,22 +34,6 @@ commands = flake8 doc8 {posargs} -[stestr-base] -commands = stestr run --serial '{posargs}' - stestr slowest - -[testenv:py27] -commands = {[testenv]commands} - {[stestr-base]commands} - -[testenv:py34] -commands = {[testenv]commands} - {[stestr-base]commands} - -[testenv:py35] -commands = {[testenv]commands} - {[stestr-base]commands} - [testenv:apiexamples] commands = {envpython} generate_examples.py |