8000 Update blacksmith runner to 2404 by janicduplessis · Pull Request #6643 · rainbow-me/rainbow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update blacksmith runner to 2404 #6643

New issue 8000

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 22, 2025
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
9 changes: 6 additions & 3 deletions .github/actions/android-emulator/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ inputs:
emulators:
description: 'The number of emulators to run'
default: '1'
emulator-build:
description: 'The emulator build to use'

runs:
using: "composite"
Expand All @@ -38,20 +40,21 @@ runs:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ inputs.api-level }}-${{ inputs.emulators }}-${{ inputs.cores }}-${{ inputs.profile }}-${{ inputs.ram-size }}-${{ inputs.arch }}
key: avd-${{ inputs.api-level }}-${{ inputs.emulators }}-${{ inputs.cores }}-${{ inputs.profile }}-${{ inputs.ram-size }}-${{ inputs.arch }}-${{ inputs.emulator-build }}

- name: Create AVD and Generate Snapshot for Caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ inputs.api-level }}
target: google_apis
target: google_apis_playstore
arch: ${{ inputs.arch }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -no-metrics
emulator-options: -no-snapshot -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
profile: ${{ inputs.profile }}
cores: ${{ inputs.cores }}
ram-size: ${{ inputs.ram-size }}
emulator-build: ${{ inputs.emulator-build }}
script: |
echo "Generated AVD snapshot for caching."
9 changes: 6 additions & 3 deletions .github/workflows/android-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
android-e2e:
if: github.event.pull_request.draft == false
runs-on: blacksmith-8vcpu-ubuntu-2204
runs-on: blacksmith-8vcpu-ubuntu-2404
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -22,6 +22,7 @@ jobs:
ANDROID_EMULATOR_PROFILE: pixel_6
ANDROID_EMULATOR_CORES: 4
ANDROID_EMULATOR_RAM_SIZE: 8192
ANDROID_EMULATOR_BUILD: 10696886
ARTIFACTS_FOLDER: e2e-artifacts
ARCH: x86_64

Expand Down Expand Up @@ -124,20 +125,22 @@ jobs:
cores: ${{ env.ANDROID_EMULATOR_CORES }}
ram-size: ${{ env.ANDROID_EMULATOR_RAM_SIZE }}
arch: ${{ env.ARCH }}
emulator-build: ${{ env.ANDROID_EMULATOR_BUILD }}

- name: Run tests
uses: reactivecircus/android-emulator-runner@v2
id: e2e_test
with:
api-level: ${{ env.ANDROID_EMULATOR_API_LEVEL }}
target: google_apis
target: google_apis_playstore
arch: ${{ env.ARCH }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -no-metrics
emulator-options: -no-snapshot -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
profile: ${{ env.ANDROID_EMULATOR_PROFILE }}
cores: ${{ env.ANDROID_EMULATOR_CORES }}
ram-size: ${{ env.ANDROID_EMULATOR_RAM_SIZE }}
emulator-build: ${{ env.ANDROID_EMULATOR_BUILD }}
script: ./scripts/e2e-android-ci.sh

- name: Upload artifacts
Expand Down
2 changes: 0 additions & 2 deletions e2e/onboarding/CreateWallet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ tags:
# Check wallet screen exists and has expected elements
- assertVisible:
id: wallet-screen
- assertVisible:
id: receive-card
- assertVisible:
id: copy-address-button
- assertVisible:
Expand Down
6 changes: 3 additions & 3 deletions e2e/utils/ImportWalletWithKey.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
visible:
id: welcome-screen
# the test fail quite often if the timeout is too low
timeout: 300000
timeout: 30000
- openLink: rainbow://e2e/import?privateKey=${PKEY}&name=${NAME}
# The first time a simulator opens a link it shows a dialog.
- runFlow:
Expand All @@ -22,6 +22,6 @@ env:
# Wait for the wallet screen to load.
- extendedWaitUntil:
visible:
id: receive-card
id: eth-card
# the test fail quite often if the timeout is too low
timeout: 300000
timeout: 30000
Loading
0