Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Skip tests that do not have configured examples (#96)
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario and eapolinario authored Mar 29, 2024
1 parent f2bea1f commit 2b7d53b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions boilerplate/flyte/end2end/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,11 @@ def schedule_workflow_groups(
workflow_group_item = list(
filter(lambda item: item["name"] == wf_group, parsed_manifest)
)
workflows = []
if workflow_group_item:
workflows = workflow_group_item[0]["examples"]
if not workflow_group_item:
continue
workflows = workflow_group_item[0].get("examples")
if not workflows:
continue
executions_by_wfgroup[wf_group] = [
execute_workflow(remote, tag, workflow[0], workflow[1], cluster_pool_name)
for workflow in workflows
Expand Down

0 comments on commit 2b7d53b

Please sign in to comment.