Add remaining nox sessions based on tox.ini
This change introduces venv and bindep sessions based on the same testenvs from tox.ini. Change-Id: I4d2c92d8cd9e96cbcd1b54c6b4b565aedc9a60e3
This commit is contained in:
parent
c6b7308c68
commit
273da661db
15
noxfile.py
15
noxfile.py
@ -52,3 +52,18 @@ def linters(session):
|
||||
set_standard_env_vars(session)
|
||||
session.install('flake8')
|
||||
session.run('flake8')
|
||||
|
||||
|
||||
@nox.session(python='3')
|
||||
def venv(session):
|
||||
set_standard_env_vars(session)
|
||||
session.install('-r', 'requirements.txt')
|
||||
session.install('-e', '.')
|
||||
session.run(*session.posargs)
|
||||
|
||||
|
||||
@nox.session(python='3')
|
||||
def bindep(session):
|
||||
set_standard_env_vars(session)
|
||||
session.install('bindep')
|
||||
session.run('bindep', 'test')
|
||||
|
Loading…
Reference in New Issue
Block a user