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 @@ -207,7 +207,7 @@ def construct_cmd_from_click_api(mode):
207
207
# run flow
208
208
if executor == "cli" :
209
209
flow_ret = subprocess .call (run_cmd ("run" ), env = env )
210
- elif executor == "api" and skip_api_executor is False :
210
+ elif executor == "api" :
211
211
flow_ret = subprocess .call (construct_cmd_from_click_api ("run" ), env = env )
212
212
213
213
if flow_ret :
@@ -217,7 +217,7 @@ def construct_cmd_from_click_api(mode):
217
217
log ("Resuming flow" , formatter , context )
218
218
if executor == "cli" :
219
219
flow_ret = subprocess .call (run_cmd ("resume" ), env = env )
220
- elif executor == "api" and skip_api_executor is False :
220
+ elif executor == "api" :
221
221
flow_ret = subprocess .call (
222
222
construct_cmd_from_click_api ("resume" ), env = env
223
223
)
@@ -324,6 +324,8 @@ def run_test_cases(args):
324
324
continue
325
325
326
326
for executor in context ["executors" ]:
327
+ if executor == "api" and skip_api_executor is True :
328
+ continue
327
329
log (
328
330
"running [using %s executor]" % executor ,
329
331
formatter ,
You can’t perform that action at this time.
0 commit comments