diff --git a/airbyte-connector-builder-server/run_format.sh b/airbyte-connector-builder-server/run_format.sh index 75f996ad67f0..e48ac5a5518e 100755 --- a/airbyte-connector-builder-server/run_format.sh +++ b/airbyte-connector-builder-server/run_format.sh @@ -1,5 +1,8 @@ cd $1 +# Fail script on failing command +set -e + # Pasted from https://github.com/airbytehq/airbyte/blob/master/buildSrc/src/main/groovy/airbyte-python.gradle#L85-L96 pip install 'mccabe==0.6.1' pip install 'flake8==4.0.1' diff --git a/airbyte-connector-builder-server/run_tests.sh b/airbyte-connector-builder-server/run_tests.sh index 44143fb895c8..921b3b271f41 100755 --- a/airbyte-connector-builder-server/run_tests.sh +++ b/airbyte-connector-builder-server/run_tests.sh @@ -1,5 +1,8 @@ cd $1 +# Fail script on failing command +set -e + # Install dependencies pip install -e . pip install -e '.[main]' diff --git a/airbyte-connector-builder-server/unit_tests/connector_builder/impl/test_low_code_cdk_adapter.py b/airbyte-connector-builder-server/unit_tests/connector_builder/impl/test_low_code_cdk_adapter.py index f37d882c5fa1..b097f5e9a293 100644 --- a/airbyte-connector-builder-server/unit_tests/connector_builder/impl/test_low_code_cdk_adapter.py +++ b/airbyte-connector-builder-server/unit_tests/connector_builder/impl/test_low_code_cdk_adapter.py @@ -10,7 +10,7 @@ import requests from airbyte_cdk.models import AirbyteLogMessage, AirbyteMessage, AirbyteRecordMessage, Level, Type from airbyte_cdk.sources.declarative.declarative_stream import DeclarativeStream -from airbyte_cdk.sources.declarative.parsers.undefined_reference_exception import UndefinedReferenceException +from airbyte_cdk.sources.declarative.parsers.custom_exceptions import UndefinedReferenceException from airbyte_cdk.sources.streams.http import HttpStream from connector_builder.impl.low_code_cdk_adapter import LowCodeSourceAdapter