mirror of
https://github.com/fedora-python/tox-current-env.git
synced 2025-11-24 03:08:58 +01:00
Abort unsupported runs before installing the tested package
This commit is contained in:
@@ -115,6 +115,13 @@ def tox_testenv_create(venv, action):
|
|||||||
return None # let tox handle the rest
|
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
|
@tox.hookimpl
|
||||||
def tox_testenv_install_deps(venv, action):
|
def tox_testenv_install_deps(venv, action):
|
||||||
"""We don't install anything"""
|
"""We don't install anything"""
|
||||||
|
|||||||
Reference in New Issue
Block a user