Compare commits

...
Author SHA1 Message Date
Riccardo Cipolleschi e1e0324586 [RN][CI] Improve Stability of Android E2E tests 2025-04-30 20:10:45 +01:00
2 changed files with 8 additions and 7 deletions
+5 -4
View File
@@ -115,13 +115,14 @@ async function main() {
let error = null;
try {
//check if MAESTRO_FLOW is a folder
const flow = `${MAESTRO_FLOW/text.yml}`;
if (
fs.existsSync(MAESTRO_FLOW) &&
fs.lstatSync(MAESTRO_FLOW).isDirectory()
fs.existsSync(flow) &&
fs.lstatSync(flow).isDirectory()
) {
await executeFlowInFolder(MAESTRO_FLOW);
await executeFlowInFolder(flow);
} else {
await executeFlowWithRetries(MAESTRO_FLOW, 0);
await executeFlowWithRetries(flow, 0);
}
} catch (err) {
error = err;
+3 -3
View File
@@ -459,12 +459,12 @@ jobs:
uses: ./.github/actions/build-android
with:
release-type: ${{ needs.set_release_type.outputs.RELEASE_TYPE }}
run-e2e-tests: ${{ github.ref == 'refs/heads/main' || contains(github.ref, 'stable') || inputs.run-e2e-tests }}
run-e2e-tests: true #${{ github.ref == 'refs/heads/main' || contains(github.ref, 'stable') || inputs.run-e2e-tests }}
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
test_e2e_android_rntester:
if: ${{ github.ref == 'refs/heads/main' || contains(github.ref, 'stable') || inputs.run-e2e-tests }}
runs-on: 4-core-ubuntu
# if: ${{ github.ref == 'refs/heads/main' || contains(github.ref, 'stable') || inputs.run-e2e-tests }}
runs-on: 8-core-ubuntu
needs: [build_android]
strategy:
fail-fast: false