Use master branch of python-subunit to generate reports

Last released python-subunit (version 1.3.0) has
can't generate xml report file when running on Python 3

We need XML report for downstream CI as Jenkins
parse them for viewing detailed test case results.

As we are dropping down Python 2 support we must
use master branch version of python-subunit package
to generate reports until bug fix is not released
under via Pip.

Required python-subunit change:
 - 58c3d36426

Change-Id: I393855fbc81aad4d917e527a935bdb8ce6df13cb
This commit is contained in:
Federico Ressi 2019-12-18 16:11:13 +01:00
parent 76dd641cc5
commit 9064bc0a11
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# Requirements file for 'report' Tox environment
os-testr>=1.0 # Apache 2.0
os-testr>=1.0 # Apache-2.0
stestr>=2.0 # Apache-2.0

View File

@ -198,8 +198,11 @@ commands =
# --- CI report environments --------------------------------------------------
[testenv:report]
basepython=python2.7
skipsdist=True
usedevelop = False
deps = -r {toxinidir}/report-requirements.txt
passenv = {[base]passenv}
setenv = {[base]setenv}
commands = {toxinidir}/tools/ci/make_report
commands =
pip install git+https://github.com/testing-cabal/subunit.git@master
{toxinidir}/tools/ci/make_report