react-native/scripts
Riccardo Cipolleschi f1a362d834 Update the testing-script to use github actions (#44923)
Summary:
With the migration to GHA, we are updating the testing scripts to work with the new CI.

There are a bit of shenanigans due to:
* How GHA archives artifacts => they are all `.zip` files, so I had to play around with unzipping them
* GHA seems to create a different commit, like if it is forking the repo instead of using it. I think that it is how the checkout action works. *Note:* this might be a problem for the `Create React Native Release` workflow because it has to commit on the stable branch!
* Android is building only the simulator architecture when running from regular CI. The app is not configured to run only on that, so the RNTestProject was a failing because it was trying to build all the available architectures. It is an easy fix in the user project space when release testing.

## Changelog:
[Internal] - Update the testing script to work with the new CI

Pull Request resolved: https://github.com/facebook/react-native/pull/44923

Test Plan:
Tested locally.

* [iOS] RNTester - Hermes 
* [iOS] RNTester - JSC 
* [Android] RNTester - Hermes 
* [Android] RNTester - JSC 
* [iOS] RNTestProject - Hermes   (The project is created correctly and it builds, crash at runtime for https://github.com/facebook/react-native/issues/44926)
* [iOS] RNTestProject - JSC  (The project is created correctly and it builds, crash at runtime for https://github.com/facebook/react-native/issues/44926)
* [Android] RNTester - Hermes  (Needed to build only the simulator architecture)
* [Android] RNTester - JSC  (Needed to build only the simulator architecture)

Reviewed By: andrewdacenko

Differential Revision: D58528432

Pulled By: cipolleschi

fbshipit-source-id: 733065de4c532b13d8e95e2217f9aafd5a2ef8a0
2024-06-14 10:56:52 -07:00
..
__tests__ Add support for patch rc versions 2024-04-25 15:17:34 -07:00
build update shared build to strip Babel wrapper (#44339) 2024-05-02 04:00:21 -07:00
circleci chore(ci): Set retryOnFailure for RNTester iOS Unit and Integration tests (#44642) 2024-05-30 07:24:35 -07:00
debugger-frontend Add --create-diff mode to debugger-frontend sync script (#43621) 2024-03-22 12:11:48 -07:00
e2e Fix E2E template install in CI jobs (#43323) 2024-03-05 06:18:37 -08:00
monorepo Remove bump-all-updated-packages script (#43534) 2024-03-19 07:05:03 -07:00
release-testing Update the testing-script to use github actions (#44923) 2024-06-14 10:56:52 -07:00
releases Deploy 0.238.0 to xplat (#44941) 2024-06-14 02:19:11 -07:00
releases-ci Remove bump-all-updated-packages script (#43534) 2024-03-19 07:05:03 -07:00
utils Relocate and export updatePackageJson script util 2024-03-04 02:54:44 -08:00
.tests.env
android-e2e-test.js
consts.js Fix RNTester Podfile.lock update in release workflow (#43513) 2024-03-15 10:32:07 -07:00
lint-java.js
npm-utils.js Add support for patch rc versions 2024-04-25 15:17:34 -07:00
objc-test.sh
process-podspecs.sh
run-ci-javascript-tests.js RN: Fix Open Source Test Scripts 2024-03-29 01:42:24 -07:00
scm-utils.js
sync-css-layout.sh
validate-ios-test-env.sh