mirror of
https://github.com/fedora-python/tox-current-env.git
synced 2025-08-24 15:38:53 +02: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
|
||||
|
||||
|
||||
@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"""
|
||||
|
Reference in New Issue
Block a user