Skip to content

Commit

Permalink
added option to run LocalExecutor if in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Acribbs committed Nov 10, 2024
1 parent b83fb7f commit 5245d77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cgatcore/pipeline/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ def get_executor(options=None):
if options is None:
options = get_params()

if options.get("testing", False):
return LocalExecutor(**options)

queue_manager = options.get("cluster_queue_manager", None)

if queue_manager == "kubernetes" and KubernetesExecutor is not None:
Expand Down

0 comments on commit 5245d77

Please sign in to comment.