Skip to content

tox 4.0 replacement for TOX_TESTENV_PASSENV #2681

Answered by gaborbernat
jwodder asked this question in Q&A
Discussion options

You must be logged in to vote

Hm, using this env var feels like an anti-pattern as you're making your CI behave differently than local. Why not just add those values into passenv?

Similar functionality can be done with tox 4 with https://tox.wiki/en/latest/cli_interface.html#tox-run---override, which works as an env-var too TOX_OVERRIDE=testenv.passenv=A,B,C I believe.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@jaraco
Comment options

@gaborbernat
Comment options

@gaborbernat
Comment options

@gaborbernat
Comment options

@gaborbernat
Comment options

Answer selected by jwodder
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants