Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connector builder server: Fail on failing tests #21198

Merged
merged 5 commits into from
Jan 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions airbyte-connector-builder-server/run_format.sh
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
3 changes: 3 additions & 0 deletions airbyte-connector-builder-server/run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
cd $1

# Fail script on failing command
set -e

# Install dependencies
pip install -e .
pip install -e '.[main]'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down