Skip to content

Commit

Permalink
Comment out unused steps in Android Detox test workflow for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
lposen committed Oct 17, 2024
1 parent f1cbb3f commit 511060f
Showing 1 changed file with 63 additions and 1 deletion.
64 changes: 63 additions & 1 deletion .github/workflows/detox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,66 @@ jobs:
retention-days: 1

# run-android-detox-tests:
x
# needs: [build-android, find-test-files]
# name: Android - Run Detox tests
# runs-on: ubuntu-latest

# strategy:
# fail-fast: false
# matrix:
# test-file: ${{ fromJson(needs.find-test-files.outputs.test-files) }}

# steps:
# - name: Free Disk Space (Ubuntu)
# uses: jlumbroso/free-disk-space@main
# with:
# tool-cache: true
# android: false

# - name: Checkout Code
# uses: actions/checkout@v4
# with:
# fetch-depth: 1

# - name: Download Android app
# uses: actions/download-artifact@v4
# with:
# name: android-app-artifact
# path: example/android/app/build/outputs/apk

# - name: Setup
# uses: ./.github/actions/setup

# - name: Start Metro Server
# env:
# ITBL_API_KEY: ${{secrets.ITERABLE_API_KEY}}
# ITBL_ID: ${{secrets.ITBL_ID}}
# run: yarn detox:start &

# - name: Enable KVM
# 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: Run Detox tests
# uses: reactivecircus/android-emulator-runner@v2
# env:
# ITBL_API_KEY: ${{secrets.ITERABLE_API_KEY}}
# ITBL_ID: ${{secrets.ITBL_ID}}
# with:
# api-level: 31
# arch: x86_64
# avd-name: Pixel_3a_API_34
# force-avd-creation: false
# emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -no-metrics
# disable-animations: false
# script: yarn detox:android:test:ci -- ${{ matrix.test-file }}

# - name: Upload Test Artifact - GitHub Action
# if: failure()
# uses: actions/upload-artifact@v4
# with:
# name: detox-android-artifacts-${{ matrix.test-file }}
# path: example/artifacts
# retention-days: 1

0 comments on commit 511060f

Please sign in to comment.