Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/installMaestro/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
- name: Install Maestro CLI
shell: bash
run: |
export MAESTRO_VERSION=1.40.3
export MAESTRO_VERSION=1.41.0
curl -Ls "https://get.maestro.mobile.dev" | bash

- name: Conditionally install brew packages for iOS
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ runs:
node-version: 20

- name: Install dependencies
run: yarn install --frozen-lockfile --immutable
run: yarn install --immutable
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: yarn

- name: Install Dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
31 changes: 25 additions & 6 deletions .github/workflows/test-e2e-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,41 @@ jobs:
uses: gradle/actions/setup-gradle@v3

- name: Install example dependencies
run: yarn workspace react-native-legal-bare-example install --frozen-lockfile --immutable
run: yarn workspace react-native-legal-bare-example install --immutable

- name: Bundle app
run: yarn workspace react-native-legal-bare-example build:android

- name: Create AVD and generate snapshot for caching
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm

- name: AVD cache
uses: actions/cache@v4
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.api-level }}

- name: create AVD, generate snapshot for caching, build app and run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
arch: 'x86_64'
target: 'google_apis'
force-avd-creation: true
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
force-avd-creation: ${{ steps.avd-cache.outputs.cache-hit != 'true' }}
cores: 4
emulator-options: -verbose -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-front none -camera-back none
disable-animations: false
ram-size: '4096M'
script: ./scripts/e2e_android_emulator_build_and_test.sh
ram-size: '6144M'
script: |
echo "Generated AVD snapshot for caching."
yarn workspace react-native-legal-bare-example android:release
yarn workspace react-native-legal-bare-example e2e:android

- name: Upload report
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e-ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
target-platform: ios

- name: Install example dependencies
run: yarn workspace react-native-legal-bare-example install --frozen-lockfile --immutable
run: yarn workspace react-native-legal-bare-example install --immutable

- name: Cache Pods
id: cache-pods
Expand Down
9 changes: 0 additions & 9 deletions scripts/e2e_android_emulator_build_and_test.sh

This file was deleted.

Loading