testing: Add support for runtime environment variables to GitHub Workflows
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- JavaScript
- スター
- 3k
- フォーク
- 2k
- 平均マージ
- 4日 19時間
- マージ済み PR(30日)
- 48
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GoogleCloudPlatform/nodejs-docs-samples のほかの issue
-
priority: p2 samples triage me type: bug
難易度 1/5 1時間未満 初心者へのやさしさ 48/100
GoogleCloudPlatform/nodejs-docs-samples#4174 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: p2 samples triage me type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
GoogleCloudPlatform/nodejs-docs-samples#4151 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: p2 samples type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
GoogleCloudPlatform/nodejs-docs-samples#4144 ·
メンテナーはふだん 1 日以内に返信
-
priority: p2 samples triage me type: bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
GoogleCloudPlatform/nodejs-docs-samples#3859 ·
メンテナーはふだん 1 日以内に返信
-
samples
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
GoogleCloudPlatform/nodejs-docs-samples#3601 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
GoogleCloudPlatform/nodejs-docs-samples の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
curriculum documentation quality
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
githubnext/gh-aw-workshop#3897 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
難易度 2/5 1〜3時間 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信