-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
only run integration tests for a subset of integrations during PR builds #710
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,10 +54,20 @@ jobs: | |
- name: Ensure no file change | ||
run: git status --porcelain && test -z "$(git status --porcelain)" | ||
|
||
- name: Run Integration Tests | ||
- name: Run Integration Tests (PR) | ||
if: success() && github.ref != 'refs/heads/master' | ||
run: ./tools/bin/integration_test_pr.sh | ||
|
||
- name: Run Integration Tests (Master) | ||
if: success() && github.ref == 'refs/heads/master' | ||
run: ./gradlew --no-daemon integrationTest --scan -x generateProtocolClassFiles | ||
|
||
- name: Run Standard Source Tests | ||
- name: Run Standard Source Tests (PR) | ||
if: success() && github.ref == 'refs/heads/master' | ||
run: ./tools/bin/standard_test_pr.sh | ||
|
||
- name: Run Standard Source Tests (Master) | ||
if: success() && github.ref != 'refs/heads/master' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also here |
||
run: ./gradlew --no-daemon standardSourceTest --scan | ||
|
||
- name: Build Core Docker Images | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
. tools/lib/lib.sh | ||
|
||
assert_root | ||
|
||
./gradlew --no-daemon --scan -x generateProtocolClassFiles \ | ||
:airbyte-integrations:connectors:destination-bigquery:integrationTest \ | ||
:airbyte-integrations:connectors:destination-postgres:integrationTest \ | ||
:airbyte-integrations:connectors:destination-csv:integrationTest \ | ||
:airbyte-integrations:connectors:source-postgres-singer:integrationTest \ | ||
:airbyte-integrations:connectors:source-stripe-singer:integrationTest \ | ||
:airbyte-integrations:connectors:source-exchangeratesapi-singer:integrationTest | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: missing newline at end of file |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
. tools/lib/lib.sh | ||
|
||
assert_root | ||
|
||
./gradlew --no-daemon --scan -x generateProtocolClassFiles \ | ||
:airbyte-integrations:connectors:source-github-singer:standardSourceTest | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: missing newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the matching condition reversed?