-
Notifications
You must be signed in to change notification settings - Fork 911
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description merging these fixes. they solve some but not all issues with the CI task. more work needs to be done to get it working properly.
- Loading branch information
Showing
4 changed files
with
79 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
50 changes: 49 additions & 1 deletion
50
packages/sdks/e2e/react-native/.eas/build/build-and-maestro-test.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,56 @@ | ||
build: | ||
name: Create a build and run Maestro tests on it | ||
steps: | ||
- eas/build | ||
# https://github.com/expo/eas-custom-builds-example/blob/main/.eas/build/ios-simulator-build.yml | ||
# START OF ios-simulator-build.yml | ||
- eas/checkout | ||
- eas/install_node_modules | ||
|
||
# addition | ||
- run: | ||
id: build-sdk | ||
name: Build SDK | ||
command: yarn nx build @builder.io/sdk-react-native | ||
|
||
- eas/resolve_build_config | ||
- eas/prebuild | ||
- run: | ||
name: Install pods | ||
working_directory: ./ios | ||
command: pod install | ||
# if you are not using EAS Update you can remove this step from your config | ||
# https://docs.expo.dev/eas-update/introduction/ | ||
- eas/configure_eas_update: | ||
inputs: | ||
throw_if_not_configured: false | ||
- eas/generate_gymfile_from_template | ||
- eas/run_fastlane | ||
- eas/find_and_upload_build_artifacts | ||
# END OF ios-simulator-build.yml | ||
|
||
- eas/send_slack_message: | ||
if: ${ failure() } | ||
name: Send Slack message when the build fails (iOS) | ||
inputs: | ||
slack_hook_url: ${ eas.env.SLACK_RN_SDK_HOOK_URL } | ||
payload: | ||
message: | | ||
iOS build and test failed. | ||
Link: ${ eas.job.expoBuildUrl } | ||
Error: ${ steps.run_fastlane.error_text } | ||
- eas/maestro_test: | ||
inputs: | ||
flow_path: | | ||
maestro/home.yaml | ||
- eas/send_slack_message: | ||
if: ${ failure() } | ||
name: Send Slack message when the test fails (iOS) | ||
inputs: | ||
slack_hook_url: ${ eas.env.SLACK_RN_SDK_HOOK_URL } | ||
payload: | ||
message: | | ||
iOS build and test failed. | ||
Link: ${ eas.job.expoBuildUrl } | ||
Error: ${ steps.maestro_test.error_text } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters