-
Notifications
You must be signed in to change notification settings - Fork 58
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
Try running UI tests on any updates to develop #4114
Conversation
Wanna run full suite of Android and iOS UI tests? Click here and 'Approve' CI job! |
…wordpress-mobile/gutenberg-mobile into try/running-ui-tests-on-updated-develop
👋 Hi @mchowning, this is ready for review again. There's some repetition in the CircleCI config. For example, |
Thanks for the review, @mchowning! I've addressed the feedback and this should be ready to review again. |
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.
This looks good to me. Thanks @guarani !
There's some repetition in the CircleCI config. For example, ios-device-checks is called three different times and the only difference between them is the name given to the job and the branch the job is triggered on. While it might be worthwhile finding a more concise syntax, CircleCI config will be replaced with Buildkite config in the future, so any optimizations might no longer be necessary.
For merging, would it be cleaner to just remove the two new jobs you created and instead add the develop
branch to the "release" jobs and give those jobs a more generic name?
We probably should go ahead and switch from develop
to trunk
as well since the main apps are making that switch, but that's not an issue that needs to be addressed as part of this PR.
That's a good point. I'd considered it in a similar PR (for running these tests on release PRs) but forgot to mention the discussion here. In short, my position was that it would be valuable to have separate names for each. While the Slack notification doesn't show these custom names, clicking on the notification opens CircleCI which displays the job name prominently, which I think is useful. Otherwise you'd need to look at the branch name in the CircleCI job if you wanted to know what type of test was run. I have no strong preference here though, but figured this was the safer option for now. Let me know if you think we should change this in a follow-up PR. Thanks for the review! |
I didn't do this before merging, so expect a follow-up PR 🙈 |
I merged #4114 without first removing the the test code, so this change does that clean-up.
👋 @mchowning, the clean-up PR and I added you as a reviewer if you don't mind. |
Fixes #4101
This PR follows up on the proposal in #4101 to automatically run our full automated test suite on all changes to the
develop
branch. This is still just a proposal, so the idea of this PR is to try this idea out before we decide on it. If we're happy with it, we can merge this PR to put the proposal into practice.post-to-slack
totrue
.To test
Test iOS on Device - Full (On Updated Develop)
is seen below under CI checksTest Android on Device - Full (On Updated Develop)
is seen below under CI checksNote: The two new workflows will only run on the
develop
branch once this PR is merged. They only appear on this PR because we're temporarily adding this PR's branch to the list of branches the workflow runs on.PR submission checklist: