mirror of
https://github.com/fedora-python/tox-current-env.git
synced 2024-12-24 17:16:13 +01:00
Abort unsupported runs before installing the tested package
This commit is contained in:
parent
1982ce9aaf
commit
4c81f356af
@ -115,6 +115,13 @@ def tox_testenv_create(venv, action):
|
||||
return None # let tox handle the rest
|
||||
|
||||
|
||||
@tox.hookimpl
|
||||
def tox_package(session, venv):
|
||||
"""Fail early when unsupported"""
|
||||
config = venv.envconfig.config
|
||||
unsupported_raise(config, venv)
|
||||
|
||||
|
||||
@tox.hookimpl
|
||||
def tox_testenv_install_deps(venv, action):
|
||||
"""We don't install anything"""
|
||||
|
Loading…
Reference in New Issue
Block a user