Skip to content

Commit 7676046

Browse files
committed
update postcommit yaml tests workflow to support new blueprints workflow
1 parent f6c7a06 commit 7676046

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/beam_PostCommit_Yaml_Xlang_Direct.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
matrix:
6262
job_name: ["beam_PostCommit_Yaml_Xlang_Direct"]
6363
job_phrase: ["Run Yaml_Xlang_Direct PostCommit"]
64-
test_set: ["data", "databases", "messaging"]
64+
test_set: ["data", "databases", "messaging", "blueprints"]
6565
steps:
6666
- uses: actions/checkout@v7
6767
with:

sdks/python/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ tasks.register("postCommitYamlIntegrationTests") {
172172
dependsOn ":sdks:java:io:google-cloud-platform:expansion-service:build"
173173

174174
doLast {
175-
def testSetInput = project.findProperty('yamlTestSet') ?: 'data,databases,messaging'
175+
def testSetInput = project.findProperty('yamlTestSet') ?: 'data,databases,messaging,blueprints'
176176
def testSetsToRun = testSetInput.tokenize(',').collect { it.trim() }.findAll { !it.isEmpty() }
177177
testSetsToRun.each { currentTestSet ->
178178
def test_files_dir
@@ -187,8 +187,11 @@ tasks.register("postCommitYamlIntegrationTests") {
187187
case 'messaging':
188188
test_files_dir = 'extended_tests/messaging'
189189
break
190+
case 'blueprints':
191+
test_files_dir = 'extended_tests/blueprints'
192+
break
190193
default:
191-
throw StopExecutionException("Unknown yamlTestSet: ${testSet}. Must be one of 'data', 'databases', or 'messaging'.")
194+
throw StopExecutionException("Unknown yamlTestSet: ${currentTestSet}. Must be one of 'data', 'databases', 'messaging', or 'blueprints'.")
192195
}
193196
exec {
194197
executable 'sh'

0 commit comments

Comments
 (0)