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

airbyte-ci: trigger test on doc change #42046

Merged

Conversation

alafanechere
Copy link
Contributor

@alafanechere alafanechere commented Jul 17, 2024

What

Closes https://github.com/airbytehq/airbyte-internal-issues/issues/8960
A connector doc modification did not trigger connector tests.
This has to change now that we have tests on docs (in QA checks).

All connector tests will be triggered on doc change. If this turns out to be annoying we can change the control flow to skip code tests if only docs were modified.

@clnoll this implementation is slighlty different from what we groomed together. Please check out this comment for details.

Copy link

vercel bot commented Jul 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Aug 7, 2024 11:30am

@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Jul 17, 2024
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @alafanechere and the rest of your teammates on Graphite Graphite

@alafanechere alafanechere force-pushed the augustin/07-17-airbyte-ci_trigger_test_on_doc_change branch from 1977836 to 8b2e3cb Compare July 17, 2024 15:21
@octavia-squidington-iii octavia-squidington-iii removed the area/documentation Improvements or additions to documentation label Jul 17, 2024
@alafanechere alafanechere force-pushed the augustin/07-17-airbyte-ci_trigger_test_on_doc_change branch from 8b2e3cb to 7595168 Compare July 17, 2024 15:26
@alafanechere alafanechere marked this pull request as ready for review July 17, 2024 15:31
@alafanechere alafanechere force-pushed the augustin/07-17-airbyte-ci_trigger_test_on_doc_change branch 2 times, most recently from 54cbfc3 to c694798 Compare July 17, 2024 15:36
Copy link
Contributor

@clnoll clnoll left a comment

Choose a reason for hiding this comment

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

LGTM, just a minor non-blocking comment.

@@ -38,7 +38,7 @@ jobs:
# Note: expressions within a filter are OR'ed
filters: |
connectors:
- '*'
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this was causing tests to run for all changes?

@@ -32,7 +32,7 @@
MANIFEST_FILE_NAME = "manifest.yaml"
METADATA_ICON_FILE_NAME = "icon.svg"
DIFF_FILTER = "MADRT" # Modified, Added, Deleted, Renamed, Type changed
IGNORED_FILE_EXTENSIONS = [".md"]
IGNORED_FILE_EXTENSIONS = []
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any reason to keep this now that it's empty?

@alafanechere alafanechere force-pushed the augustin/07-17-airbyte-ci_trigger_test_on_doc_change branch from c694798 to 9ef886f Compare August 7, 2024 11:12
@alafanechere alafanechere requested a review from a team as a code owner August 7, 2024 11:12
@alafanechere alafanechere force-pushed the augustin/07-17-airbyte-ci_trigger_test_on_doc_change branch from 9ef886f to 8c0f7d4 Compare August 7, 2024 11:27
@alafanechere alafanechere merged commit 85762c3 into master Aug 7, 2024
33 checks passed
@alafanechere alafanechere deleted the augustin/07-17-airbyte-ci_trigger_test_on_doc_change branch August 7, 2024 13:00
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.

3 participants