[Python] In tox What is the difference between setenv, and passenv

Discussão em 'Python' iniciado por Stack, Abril 10, 2025.

  1. Stack

    Stack Membro Participativo

    I setting up tox to be used in my .gitlab-ci.yml in combination with pytest. I want pytest to run with specific environment that are set in the .gitlab-ci.yml file

    In the documentation I found the tox.ini configurations setenv and passenv but I couldn't understand what is the use case for each configuration.

    What is the difference? What are the use cases? i.e. when would I want to use setenv over passenv or vice versa?

    Continue reading...

Compartilhe esta Página