Skip to content

Commit

Permalink
airbyte-ci: fix extra steps running when selected commands are provid…
Browse files Browse the repository at this point in the history
…ed (#38549)
  • Loading branch information
clnoll authored May 22, 2024
1 parent cd93561 commit 7d3a2e1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,5 +318,7 @@ def _skip_metadata_disabled_test_suites(self, run_step_options: RunStepOptions)
RunStepOptions: Updated run step options.
"""
run_step_options = deepcopy(run_step_options)
run_step_options.skip_steps += self._get_step_id_to_skip_according_to_metadata()
# If any `skip_steps` are present, we will run everything except the skipped steps, instead of just `keep_steps`.
if not run_step_options.keep_steps:
run_step_options.skip_steps += self._get_step_id_to_skip_according_to_metadata()
return run_step_options

0 comments on commit 7d3a2e1

Please sign in to comment.