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

only run integration tests for a subset of integrations during PR builds #710

Merged
merged 4 commits into from
Oct 27, 2020

Conversation

cgardens
Copy link
Contributor

@cgardens cgardens commented Oct 26, 2020

What

  • We won't always be able to run all integrations as part of every PR builds. This picks a subset of integrations to run for PR builds and then lets all tests run on master builds. This is not in place of some of the incrementality and caching fixes we want to do in the future but in addition. Ultimately we will need to do both.
  • MVP for splitting as described here.

Base automatically changed from cgardens/remove_salesforce_integration_tests_from_ci to master October 26, 2020 21:27
@cgardens cgardens force-pushed the cgardens/selective_service branch from f365762 to d687ce6 Compare October 26, 2020 21:28
@cgardens cgardens marked this pull request as ready for review October 26, 2020 22:09
: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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: missing newline at end of file

assert_root

./gradlew --no-daemon --scan -x generateProtocolClassFiles \
:airbyte-integrations:connectors:source-github-singer:standardSourceTest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: missing newline at end of file

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'
Copy link
Contributor

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?

run: ./tools/bin/standard_test_pr.sh

- name: Run Standard Source Tests (Master)
if: success() && github.ref != 'refs/heads/master'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also here

@cgardens cgardens requested a review from jrhizor October 26, 2020 23:11
@cgardens
Copy link
Contributor Author

@jrhizor - nice catch. in fixing one those conditions being flipped, i managed to mess up the other. should be all good now.

@cgardens cgardens merged commit d4f663f into master Oct 27, 2020
@cgardens cgardens deleted the cgardens/selective_service branch October 27, 2020 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants