Adds support for creating jobs with limit constraints and value constraints. (#16)

* Adds support for creating jobs with limit constraints and value constraints.
This commit is contained in:
Renán I. Del Valle 2020-11-04 11:46:53 -08:00 committed by GitHub
parent 464ef72e6b
commit 9fa6edaa3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 58 additions and 0 deletions

View file

@ -25,6 +25,11 @@ func TestUnmarshalJob(t *testing.T) {
assert.NoError(t, err)
}
func TestUnmarshalDedicatedJob(t *testing.T) {
_, err := UnmarshalJob("../test/hello_world_dedicated.yaml")
assert.NoError(t, err)
}
func TestUnmarshalCron(t *testing.T) {
cron, err := UnmarshalJob("../test/hello_world_cron.yaml")
assert.NoError(t, err)