1
0
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:
Miro Hrončok 2019-07-29 14:37:17 +02:00
parent 1982ce9aaf
commit 4c81f356af

View File

@ -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"""