Skip to content

Commit a2cdc81

Browse files
chaitikaclaude
andcommitted
OPS: rename ci.yml to e2e-test.yml + Rust bridge + env-var prune
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6b68d6f commit a2cdc81

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: Tests
1+
name: E2E Tests
22

33
# https://dev.to/edvinasbartkus/running-react-native-detox-tests-for-ios-and-android-on-github-actions-2ekn
44
# https://medium.com/@reime005/the-best-ci-cd-for-react-native-with-e2e-support-4860b4aaab29
55

66
env:
77
TRAVIS: 1
88
HD_MNEMONIC: ${{ secrets.HD_MNEMONIC }}
9-
HD_MNEMONIC_BIP84: ${{ secrets.HD_MNEMONIC_BIP84 }}
9+
MNEMONIC_TEST: ${{ secrets.MNEMONIC_TEST }}
1010

1111
on: [pull_request]
1212

@@ -79,6 +79,9 @@ jobs:
7979
sudo udevadm control --reload-rules
8080
sudo udevadm trigger --name-match=kvm
8181
82+
- name: Build Rust JSI bridge for Android
83+
run: npm run rust:build
84+
8285
- name: Build
8386
run: npm run e2e:release-build
8487

@@ -89,11 +92,11 @@ jobs:
8992
uses: reactivecircus/android-emulator-runner@v2
9093
with:
9194
api-level: 31
92-
avd-name: Pixel_API_29_AOSP
93-
force-avd-creation: false
95+
avd-name: Pixel_API_31
96+
force-avd-creation: true
9497
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
9598
arch: x86_64
96-
script: npm run e2e:release-test -- --record-videos all --record-logs all --take-screenshots all --headless -d 200000 -R 5 --artifacts-location /mnt/artifacts
99+
script: npm run e2e:release-test -- --record-videos all --record-logs all --take-screenshots all --headless -d 200000 --retries 3 --reuse --artifacts-location /mnt/artifacts
97100

98101
- uses: actions/upload-artifact@v4
99102
if: failure()

.github/workflows/integration-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,4 @@ jobs:
3636
env:
3737
TRAVIS: 1
3838
HD_MNEMONIC: ${{ secrets.HD_MNEMONIC }}
39-
HD_MNEMONIC_BIP84: ${{ secrets.HD_MNEMONIC_BIP84 }}
4039
RETRY: 1

.github/workflows/unit-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,4 @@ jobs:
3434
run: npm run unit
3535
env:
3636
HD_MNEMONIC: ${{ secrets.HD_MNEMONIC }}
37-
HD_MNEMONIC_BIP84: ${{ secrets.HD_MNEMONIC_BIP84 }}
3837
RETRY: 1

0 commit comments

Comments
 (0)