feat: --validate and --strict (#71)

* feat: `--validate` and `--strict`

* add test for strict validate
This commit is contained in:
ChristopherHX
2025-03-28 22:56:20 +01:00
committed by GitHub
parent b46fe4265e
commit 95ba59f608
9 changed files with 79 additions and 35 deletions

View File

@@ -31,7 +31,7 @@ func TestPlanner(t *testing.T) {
assert.NoError(t, err, workdir)
for _, table := range tables {
fullWorkflowPath := filepath.Join(workdir, table.workflowPath)
_, err = NewWorkflowPlanner(fullWorkflowPath, table.noWorkflowRecurse)
_, err = NewWorkflowPlanner(fullWorkflowPath, table.noWorkflowRecurse, false)
if table.errorMessage == "" {
assert.NoError(t, err, "WorkflowPlanner should exit without any error")
} else {