Skip to content

Commit 0b768e8

Browse files
authored
add tag for skipping tests on microcheck (#253)
so that we can mark tests to be always skipping on microcheck Signed-off-by: Lonnie Liu <[email protected]>
1 parent 3e5a2da commit 0b768e8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

raycicmd/config.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -299,14 +299,15 @@ func ciDefaultConfig(envs Envs) *config {
299299
case rayPRPipeline, rayV2PremergePipeline, rayDevPipeline:
300300
return prPipelineConfig("ray-pr", nil, -1)
301301
case rayV2MicrocheckPipeline:
302-
mcPipelineConfig := prPipelineConfig(
302+
c := prPipelineConfig(
303303
"ray-pr-microcheck",
304304
map[string]string{"RAYCI_MICROCHECK_RUN": "1"},
305305
1,
306306
)
307-
mcPipelineConfig.NotifyOwnerOnFailure = true
307+
c.NotifyOwnerOnFailure = true
308+
c.SkipTags = append(c.SkipTags, "skip-on-microcheck")
308309

309-
return mcPipelineConfig
310+
return c
310311
}
311312

312313
// By default, assume it is less privileged.

0 commit comments

Comments
 (0)