Fix tox -v skipping over sqlite unit test jobs
This PS fixes tox -v skipping over SQLite unit test jobs. tox -v is used in CICD to run all jobs in tox envlist but currently py{35,27}-{postgresql,} translates to: py35- py27- py35-postgresql py27-postgresql Where the first two should instead be: py35 py27 This PS also adds --regex flags to the unit test jobs so regular expressions work with them. Change-Id: Id468259a1b2e020494bdd58103d8750b4fac6000
This commit is contained in:
parent
a420d5962d
commit
43c4424efe
6
tox.ini
6
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py{35,27}-{postgresql,},pep8,bandit,docs
|
envlist = py{35,27},py{35,27}-{postgresql},pep8,bandit,docs
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
|
@ -21,7 +21,7 @@ commands =
|
||||||
[testenv:py27]
|
[testenv:py27]
|
||||||
commands =
|
commands =
|
||||||
{[testenv]commands}
|
{[testenv]commands}
|
||||||
ostestr '{posargs}'
|
ostestr --regex '{posargs}'
|
||||||
|
|
||||||
[testenv:py27-postgresql]
|
[testenv:py27-postgresql]
|
||||||
commands =
|
commands =
|
||||||
|
@ -31,7 +31,7 @@ commands =
|
||||||
[testenv:py35]
|
[testenv:py35]
|
||||||
commands =
|
commands =
|
||||||
{[testenv]commands}
|
{[testenv]commands}
|
||||||
ostestr '{posargs}'
|
ostestr --regex '{posargs}'
|
||||||
|
|
||||||
[testenv:py35-postgresql]
|
[testenv:py35-postgresql]
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue