-
Notifications
You must be signed in to change notification settings - Fork 6.8k
build: only run snapshot tests against main branch #22424
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
Conversation
0c5d398
to
304537b
Compare
.circleci/config.yml
Outdated
- view_engine_snapshot_test_cronjob | ||
- mdc_snapshot_test_cronjob | ||
- snapshot_tests_local_browsers: | ||
filters: *only_main_branch_filter |
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.
Disclaimer: I don't actually know if this will work as expected, I'm basing it on how we've dealt with similar situations in other places. As far as I can tell, there's no good way of testing it without merging in the changes.
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.
I tried parsing the config and it looks like this needs to be indented as above with other jobs using filters.
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.
Thanks, updated 👍
304537b
to
1d5d038
Compare
Limits the various snapshot tests to only run against the main branch. They are very likely to main against the older branches, because by definition Angular's latest changes at HEAD might not be backwards-compatible.
1d5d038
to
637fd6b
Compare
Limits the various snapshot tests to only run against the main branch. They are very likely to main against the older branches, because by definition Angular's latest changes at HEAD might not be backwards-compatible. (cherry picked from commit 5f00365)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Limits the various snapshot tests to only run against the main branch. They are very likely to fail against the older branches, because by definition Angular's latest changes at HEAD might not be backwards-compatible.