Merge pull request #290 from raeyulca/on-skipped-fix

runconfig: add case statement for on_skipped
This commit is contained in:
Simone Gotti 2022-01-19 11:36:38 +01:00 committed by GitHub
commit 31b1547020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -285,6 +285,8 @@ func GenRunConfigTasks(uuid util.UUIDGenerator, c *config.Config, runName string
condition = rstypes.RunConfigTaskDependConditionOnSuccess condition = rstypes.RunConfigTaskDependConditionOnSuccess
case config.DependConditionOnFailure: case config.DependConditionOnFailure:
condition = rstypes.RunConfigTaskDependConditionOnFailure condition = rstypes.RunConfigTaskDependConditionOnFailure
case config.DependConditionOnSkipped:
condition = rstypes.RunConfigTaskDependConditionOnSkipped
} }
conditions[ic] = condition conditions[ic] = condition
} }