Skip to content

Commit

Permalink
docs(tox): update passenv examples for tox3 and tox4 (#371)
Browse files Browse the repository at this point in the history
tox4 no longer allows space-separated `passenv`:
tox-dev/tox#2615

however tox3 doesn't support `VAR, `

so to support both versions of tox, use this funky space + comma 
separated syntax, which really does work.
  • Loading branch information
masenf committed Apr 26, 2024
1 parent 2290b04 commit 05bb20d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/usage/tox.rst
Expand Up @@ -9,7 +9,7 @@ For example, on TravisCI::
envlist = py310,py311,py312

[testenv]
passenv = TRAVIS TRAVIS_*
passenv = TRAVIS , TRAVIS_*
deps =
coveralls
commands =
Expand All @@ -22,7 +22,7 @@ AppVeyor
--------
::

passenv = APPVEYOR APPVEYOR_*
passenv = APPVEYOR , APPVEYOR_*

All variables:

Expand All @@ -35,7 +35,7 @@ BuildKite
---------
::

passenv = BUILDKITE BUILDKITE_*
passenv = BUILDKITE , BUILDKITE_*

All variables:

Expand All @@ -47,7 +47,7 @@ CircleCI
--------
::

passenv = CIRCLECI CIRCLE_* CI_PULL_REQUEST
passenv = CIRCLECI , CIRCLE_* , CI_PULL_REQUEST

All variables:

Expand Down Expand Up @@ -78,7 +78,7 @@ Jenkins
-------
::

passenv = JENKINS_HOME BUILD_NUMBER GIT_BRANCH CI_PULL_REQUEST
passenv = JENKINS_HOME , BUILD_NUMBER , GIT_BRANCH , CI_PULL_REQUEST

All variables:

Expand All @@ -92,7 +92,7 @@ TravisCI
--------
::

passenv = TRAVIS TRAVIS_*
passenv = TRAVIS , TRAVIS_*

All variables:

Expand All @@ -110,7 +110,7 @@ Classic

::

passenv = SEMAPHORE SEMAPHORE_EXECUTABLE_UUID SEMAPHORE_JOB_UUID SEMAPHORE_BRANCH_ID BRANCH_NAME
passenv = SEMAPHORE , SEMAPHORE_EXECUTABLE_UUID , SEMAPHORE_JOB_UUID , SEMAPHORE_BRANCH_ID , BRANCH_NAME

All variables:

Expand All @@ -125,7 +125,7 @@ All variables:

::

passenv = SEMAPHORE SEMAPHORE_WORKFLOW_ID SEMAPHORE_JOB_ID SEMAPHORE_GIT_PR_NUMBER BRANCH_NAME
passenv = SEMAPHORE , SEMAPHORE_WORKFLOW_ID , SEMAPHORE_JOB_ID , SEMAPHORE_GIT_PR_NUMBER , BRANCH_NAME

All variables:

Expand Down

0 comments on commit 05bb20d

Please sign in to comment.