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

refactor: bring back IOS_SIMULATOR var as optional #8834

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

wachunei
Copy link
Member

@wachunei wachunei commented Mar 4, 2024

Description

This PR brings back the IOS_SIMULATOR variable for the yarn start:ios script, this time the variable will not have a default value.

This will allow users to specify a Simulator if they want. For example running this to select iPhone 15 Pro

IOS_SIMULATOR="iPhone 15 Pro" yarn start:ios

Related issues

Fixes:

Manual testing steps

  1. Run IOS_SIMULATOR="iPhone 15 Pro" yarn start:ios, the build must succeed.
  2. Change simulator to another one available and the build must succeed.

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@wachunei wachunei force-pushed the refactor/build-script-ios-simulator branch from 331cc97 to 3169f15 Compare March 4, 2024 17:30
@wachunei wachunei marked this pull request as ready for review March 4, 2024 17:33
@wachunei wachunei requested a review from a team as a code owner March 4, 2024 17:33
@wachunei wachunei added the No QA Needed Apply this label when your PR does not need any QA effort. label Mar 4, 2024
@github-actions github-actions bot added the Run Smoke E2E Triggers smoke e2e on Bitrise label Mar 4, 2024
Copy link
Contributor

github-actions bot commented Mar 4, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 3169f15
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/4c1750e2-44b7-4bdb-8dd7-99c5b6ffbad8

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Copy link

sonarcloud bot commented Mar 4, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@gauthierpetetin gauthierpetetin added the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Mar 4, 2024
@wachunei wachunei removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Mar 4, 2024
@wachunei wachunei merged commit 53e482b into main Mar 4, 2024
59 of 63 checks passed
@wachunei wachunei deleted the refactor/build-script-ios-simulator branch March 4, 2024 18:13
@github-actions github-actions bot locked and limited conversation to collaborators Mar 4, 2024
@metamaskbot metamaskbot added the release-7.19.0 Issue or pull request that will be included in release 7.19.0 label Mar 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
No QA Needed Apply this label when your PR does not need any QA effort. release-7.19.0 Issue or pull request that will be included in release 7.19.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-mobile-platform
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants