Skip to content

Commit

Permalink
Add test that would have caught bug
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Graetz <[email protected]>
  • Loading branch information
fg91 authored and fellhorn committed Jun 11, 2024
1 parent 49d866f commit 580578d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flytectl/cmd/compile/compile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,7 @@ func TestCompilePackage(t *testing.T) {
err = compileFromPackage("testdata/invalidworkflow.tgz")
assert.NotNil(t, err, "unable to handle invalid workflow")

// testing workflows with launchplans used within workflow
err = compileFromPackage("testdata/launchplan-in-wf.tgz")
assert.Nil(t, err, "unable to compile workflow with launchplans used within workflow")
}
Binary file added flytectl/cmd/compile/testdata/launchplan-in-wf.tgz
Binary file not shown.

0 comments on commit 580578d

Please sign in to comment.