Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variant env vars not set for test scripts #1317

Open
minrk opened this issue Jan 9, 2025 · 0 comments
Open

variant env vars not set for test scripts #1317

minrk opened this issue Jan 9, 2025 · 0 comments

Comments

@minrk
Copy link
Contributor

minrk commented Jan 9, 2025

In conda-build, variant values are set as env vars in build and test scripts. #1056 reported this for build scripts which appears to be fixed by #1088, but only for build scripts. Test scripts appear to still lack these env vars.

I can work around this with:

test:
  script:
    file: script-name
    env:
      name: ${{ name }}

for any variables I use in the test, but I'm not sure if the inconsistency is intentional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant