forked from lix-project/hydra
whoops: add a test on the enable_dynamic_run_command field
This commit is contained in:
parent
8a96f07f58
commit
2635607b6e
|
@ -607,6 +607,9 @@ components:
|
|||
enabled:
|
||||
description: when set to true the project gets scheduled for evaluation
|
||||
type: boolean
|
||||
enable_dynamic_run_command:
|
||||
description: when true the project's jobsets support executing dynamically defined RunCommand hooks. Requires the server and project's configuration to also enable dynamic RunCommand.
|
||||
type: boolean
|
||||
declarative:
|
||||
description: declarative input configured for this project
|
||||
type: object
|
||||
|
|
|
@ -46,6 +46,7 @@ subtest "Read project 'tests'" => sub {
|
|||
description => "",
|
||||
displayname => "Tests",
|
||||
enabled => JSON::MaybeXS::true,
|
||||
enable_dynamic_run_command => JSON::MaybeXS::false,
|
||||
hidden => JSON::MaybeXS::false,
|
||||
homepage => "",
|
||||
jobsets => [],
|
||||
|
@ -85,6 +86,7 @@ subtest "Transitioning from declarative project to normal" => sub {
|
|||
description => "",
|
||||
displayname => "Tests",
|
||||
enabled => JSON::MaybeXS::true,
|
||||
enable_dynamic_run_command => JSON::MaybeXS::false,
|
||||
hidden => JSON::MaybeXS::false,
|
||||
homepage => "",
|
||||
jobsets => [".jobsets"],
|
||||
|
@ -128,6 +130,7 @@ subtest "Transitioning from declarative project to normal" => sub {
|
|||
description => "",
|
||||
displayname => "Tests",
|
||||
enabled => JSON::MaybeXS::true,
|
||||
enable_dynamic_run_command => JSON::MaybeXS::false,
|
||||
hidden => JSON::MaybeXS::false,
|
||||
homepage => "",
|
||||
jobsets => [],
|
||||
|
|
Loading…
Reference in a new issue