Skip to content

Commit

Permalink
Rearrange examples (#1048)
Browse files Browse the repository at this point in the history
Move examples into a misc folder to make it easier to navigate the repo

---------

Signed-off-by: Elliot Gunton <egunton@bloomberg.net>
  • Loading branch information
elliotgunton authored Apr 26, 2024
1 parent 07f1496 commit ff8bba0
Show file tree
Hide file tree
Showing 78 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ metadata:
<= v3.1 you can configure a global limit to the total number of running workflows in the cluster. This is suitable
for single-tenancy set-up.
For multi-tenancy set-up, where each tenant own a single namespace, then in >= v3.1 you can globaly configure a
For multi-tenancy set-up, where each tenant owns a single namespace, then in >= v3.1 you can globally configure a
limit for the total number of running workflows within each namespace.
spec:
hard:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_unit/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_workflow_create():

def test_workflow_to_file(tmp_path: Path):
# GIVEN
workflow = importlib.import_module("examples.workflows.hello_world").w
workflow = importlib.import_module("examples.workflows.misc.hello_world").w

# WHEN
yaml_path = workflow.to_file(tmp_path)
Expand All @@ -64,7 +64,7 @@ def test_workflow_to_file(tmp_path: Path):

def test_workflow_from_yaml():
# GIVEN
workflow = importlib.import_module("examples.workflows.hello_world").w
workflow = importlib.import_module("examples.workflows.misc.hello_world").w

# THEN
assert workflow == Workflow.from_yaml(workflow.to_yaml())
Expand Down

0 comments on commit ff8bba0

Please sign in to comment.