File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ def construct_cmd_from_click_api(mode):
195
195
# run flow
196
196
if executor == "cli" :
197
197
flow_ret = subprocess .call (run_cmd ("run" ), env = env )
198
- elif executor == "api" and skip_api_executor is False :
198
+ elif executor == "api" :
199
199
flow_ret = subprocess .call (construct_cmd_from_click_api ("run" ), env = env )
200
200
201
201
if flow_ret :
@@ -205,7 +205,7 @@ def construct_cmd_from_click_api(mode):
205
205
log ("Resuming flow" , formatter , context )
206
206
if executor == "cli" :
207
207
flow_ret = subprocess .call (run_cmd ("resume" ), env = env )
208
- elif executor == "api" and skip_api_executor is False :
208
+ elif executor == "api" :
209
209
flow_ret = subprocess .call (
210
210
construct_cmd_from_click_api ("resume" ), env = env
211
211
)
@@ -312,6 +312,8 @@ def run_test_cases(args):
312
312
continue
313
313
314
314
for executor in context ["executors" ]:
315
+ if executor == "api" and skip_api_executor is True :
316
+ continue
315
317
log (
316
318
"running [using %s executor]" % executor ,
317
319
formatter ,
You can’t perform that action at this time.
0 commit comments