testing: Add support for runtime environment variables to GitHub Workflows
Nessuno ha ancora preso questa issue.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
GitHub Workflows is the preferred test driver for tests in this repository, but the current workflow implementation has several limitations. One of them is the ability to set runtime environment variables that are specific to a Workflow.
Approach
Options:
- Hard code a central map of environment variables, and refactor code to ensure clean namespacing
- Create a mechanism to pass environment variables to our reusable test workflow
Option 2 is the most versatile with the least need to refactor existing code.
Option 1 has the further downside of placing test-specific parameters in a central file. I'm not sure if any changes to test.yml are triggering wide-scale test execution currently, but with this approach we'd likely need to trigger more tests from any change, which would include adding environment variables for unrelated tests.
@pattishin has asked that as part of the PR fixing this issue, we look for existing hard-coded values and shift them to environment variable configuration.
This issue is a blocker on implementation of GHA-based test workflows for a number of samples, with #3149 as the driver for research today.
- Lingua principale
- JavaScript
- Stelle
- 3k
- Fork
- 2k
- Merge medio
- 4g 19h
- PR unite (30g)
- 48
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GoogleCloudPlatform/nodejs-docs-samples
-
priority: p2 samples triage me type: bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 48/100
GoogleCloudPlatform/nodejs-docs-samples#4174 · 2 commenti ·
-
Custard Run Pipeline fails Apertapriority: p2 samples triage me type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
GoogleCloudPlatform/nodejs-docs-samples#4151 · 1 commento ·
-
priority: p2 samples type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
-
priority: p2 samples triage me type: bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
samples
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
GoogleCloudPlatform/nodejs-docs-samples#3601 · 1 reazione ·
Tutte le issue di GoogleCloudPlatform/nodejs-docs-samples
Issue simili
-
Update HugeIcons library Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
antfu-collective/icones#398 ·
-
ECmail.com Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
wesbos/burner-email-providers#554 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
radiantearth/stac-browser#1023 ·
-
HMR stops working Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
components-web-app/docs#92 ·