Skip to content

Commit

Permalink
fix invalid test step options
Browse files Browse the repository at this point in the history
  • Loading branch information
erohmensing committed May 15, 2024
1 parent 464a89c commit 88768c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@ class CONNECTOR_TEST_STEP_ID(str, Enum):
BUILD_NORMALIZATION = "build_normalization"
BUILD_TAR = "build_tar"
BUILD = "build"
CHECK_BASE_IMAGE = "check_base_image"
CHECK_PYTHON_REGISTRY_PUBLISH_CONFIGURATION = "check_python_registry_publish_configuration"
INTEGRATION = "integration"
AIRBYTE_LIB_VALIDATION = "airbyte_lib_validation"
METADATA_VALIDATION = "metadata_validation"
QA_CHECKS = "qa_checks"
UNIT = "unit"
VERSION_FOLLOW_CHECK = "version_follow_check"
VERSION_INC_CHECK = "version_inc_check"
TEST_ORCHESTRATOR = "test_orchestrator"
DEPLOY_ORCHESTRATOR = "deploy_orchestrator"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,10 @@ def _filter_skipped_steps(steps_to_evaluate: STEP_TREE, skip_steps: List[str], r

else:
steps_to_run.append(step_to_eval)

if not steps_to_run:
raise InvalidStepConfiguration(
"No steps were queued to run. You may have skipped all steps, or selected --only on an invalid step."
)
return steps_to_run, results


Expand Down

0 comments on commit 88768c8

Please sign in to comment.