mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Lock coverage and xml-unittest-reporting versions
This commit is contained in:
parent
dce4ffab35
commit
7263956d8c
@ -127,7 +127,7 @@ def _install_requirements(session, *extra_requirements):
|
||||
|
||||
|
||||
def _run_with_coverage(session, *test_cmd):
|
||||
session.install('coverage')
|
||||
session.install('coverage==4.5.3')
|
||||
session.run('coverage', 'erase')
|
||||
python_path_env_var = os.environ.get('PYTHONPATH') or None
|
||||
if python_path_env_var is None:
|
||||
@ -149,7 +149,7 @@ def _run_with_coverage(session, *test_cmd):
|
||||
@nox.parametrize('coverage', [False, True])
|
||||
def runtests(session, coverage):
|
||||
# Install requirements
|
||||
_install_requirements(session, 'unittest-xml-reporting')
|
||||
_install_requirements(session, 'unittest-xml-reporting<2.4.0')
|
||||
# Create required artifacts directories
|
||||
_create_ci_directories()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user