Skip to content

How to pass environment variable to GitHub actions in ci.yml in a way that pipx run recognizes #643

Answered by sgbaird
sgbaird asked this question in Q&A
Discussion options

You must be logged in to vote

Fixed by modifying tox.ini:

[testenv]
description = Invoke pytest to run automated tests
setenv =
    TOXINIDIR = {toxinidir}
passenv =
    HOME
    MP_API_KEY

Was able to leave pipx run as is

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@abravalheri
Comment options

Answer selected by sgbaird
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants