facebook / facebook/buck2

how can I pass environment variables to test scripts?

Open
#232 4 comments 0 reactions 0 assignees View on GitHub
documentation test command UX
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

I need to be able to access a specific environment variable (it's a [Percy](https://percy.io/) API key) in an invocation of `buck test //...` in GitHub actions, but I'm having some trouble. It doesn't look like there's a way to forward an environment variable from the containing environment? Is there, and I'm just missing something?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.