[NoQA] Combine testBuild and testBuildHybrid#62058
Conversation
testBuild and testHybridApptestBuild and testHybridBuild
testBuild and testHybridBuildtestBuild and testBuildHybrid
testBuild and testBuildHybridtestBuild and testBuildHybrid
|
@rojiphil no C+ review needed here, thanks |
roryabraham
left a comment
There was a problem hiding this comment.
same for everywhere - let's try to standardize on Mobile-Expensify when referring to the submodule rather than "hybrid app"
|
@roryabraham I just resolved that. |
| description: Pull Request number for correct placement of apps | ||
| APP_PULL_REQUEST_NUMBER: | ||
| description: Expensify/App PR number for correct placement of apps | ||
| required: true |
There was a problem hiding this comment.
This should no longer be required - there may be times when we have a MOBILE_EXPENSIFY_PULL_REQUEST_NUMBER to test without an App PR
There was a problem hiding this comment.
If that's the case, we would only build Hybrid iOS and Android, right? Or will we default to the latest ref on the main branch in Expensify/App repo?
There was a problem hiding this comment.
If that's the case, we would only build Hybrid iOS and Android, right?
Correct
Or will we default to the latest ref on the main branch in Expensify/App repo?
Also correct
There was a problem hiding this comment.
@roryabraham In this case, where will the build output comment be posted? The Mobile-Expensify PR or the App PR that this workflow is triggered from, or both?
The current logic says that whichever PR was specified, it would be posted to that PR (i.e. if provide both, post to both repo PRs; if App without M-E, post to App...)
App/.github/workflows/testBuildHybrid.yml
Lines 412 to 413 in 8c8b009
App/.github/workflows/testBuildHybrid.yml
Lines 424 to 425 in 8c8b009
There was a problem hiding this comment.
- If building from an E/App PR and Mobile-Expensify main, post comment to the E/App PR
- If building from E/App main and a Mobile-Expensify PR, post comment to the Mobile-Expensify PR
- If building from an E/App PR and a Mobile-Expensify PR, post comment to both PRs
|
🚧 @roryabraham has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
| env: | ||
| # This variable is needed for fastlane to construct correct path | ||
| PULL_REQUEST_NUMBER: ${{ github.event.inputs.PULL_REQUEST_NUMBER }} | ||
| APP_PULL_REQUEST_NUMBER: ${{ inputs.APP_PULL_REQUEST_NUMBER }} |
There was a problem hiding this comment.
@jnowakow Hi we're refactoring this workflow so that App PR number is now no longer required (we can build a specific Mobile-Expensify PR without an App PR). Can you let me know if we can omit APP_PULL_REQUEST_NUMBER here (it's an empty string)?
cc @roryabraham
There was a problem hiding this comment.
And these lines too:
App/.github/workflows/testBuildHybrid.yml
Lines 323 to 327 in 8c8b009
I cannot find the usage of this env variable in our codebase. Wonder if it's built into some other external tools?
There was a problem hiding this comment.
@jnowakow Hi we're refactoring this workflow so that App PR number is now no longer required (we can build a specific Mobile-Expensify PR without an App PR). Can you let me know if we can omit APP_PULL_REQUEST_NUMBER here (it's an empty string)?
cc @roryabraham
As I remember it's necessary to build correct path to s3 bucket
Lines 170 to 186 in 59630c3
There was a problem hiding this comment.
And these lines too:
App/.github/workflows/testBuildHybrid.yml
Lines 323 to 327 in 8c8b009
I cannot find the usage of this env variable in our codebase. Wonder if it's built into some other external tools?
I'm not sure here but I believe it was used to display PR number instead of version inside the app. Maybe it changed over the time.
There was a problem hiding this comment.
@jnowakow Thanks a lot! Your answer is precious to me.
This comment was marked as outdated.
This comment was marked as outdated.
|
@roryabraham Summarize of the changes
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.1.60-1 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.1.61-0 🚀
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.1.62-0 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.1.62-0 🚀
|
Explanation of Change
Combine
testBuildandtestBuildHybridand clean uptestBuildHybridbecause we no longer need to build standalone apps.Fixed Issues
$ #61935
PROPOSAL: #61935 (comment)
Tests
@roryabraham These test cases should be triggered by an internal enginer:
HYBRIDAPP_PULL_REQUEST_NUMBERHYBRIDAPP_PULL_REQUEST_NUMBERbut with Mobile-Expensify PR specified in this PR descriptionHYBRIDAPP_PULL_REQUEST_NUMBERANDROIDandIOSasfalseto skip hybrid buildsHYBRIDAPP_PULL_REQUEST_NUMBERinput or Mobile-Expensify PR link was specified, they should be linked in the output commentOffline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop