Skip to content

Commit 6d69f93

Browse files
authored
Merge pull request #68001 from dwoz/environmentslugs
Honor environment variables test slugs
2 parents c72644e + e5e1013 commit 6d69f93

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tools/ci.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,13 +940,19 @@ def workflow_config(
940940
full = True
941941
requested_slugs = _environment_slugs(
942942
ctx,
943-
tools.utils.get_cicd_shared_context()["full-testrun-slugs"],
943+
os.environ.get(
944+
"FULL_TESTRUN_SLUGS",
945+
tools.utils.get_cicd_shared_context()["full-testrun-slugs"],
946+
),
944947
labels,
945948
)
946949
else:
947950
requested_slugs = _environment_slugs(
948951
ctx,
949-
tools.utils.get_cicd_shared_context()["pr-testrun-slugs"],
952+
os.environ.get(
953+
"PR_TESTRUN_SLUGS",
954+
tools.utils.get_cicd_shared_context()["pr-testrun-slugs"],
955+
),
950956
labels,
951957
)
952958

0 commit comments

Comments
 (0)