Skip to content

Commit

Permalink
FSSDK-10523 fix: integration test fix (#486)
Browse files Browse the repository at this point in the history
Android android unit test runner issue fixed
  • Loading branch information
muzahidul-opti committed Aug 23, 2024
1 parent d1aabb8 commit 70d50b9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
action: build
test:
if: ${{ startsWith(github.ref, 'refs/tags/') != true && github.event.inputs.SNAPSHOT != 'true' }}
runs-on: macos-latest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand All @@ -89,7 +89,13 @@ jobs:
- name: set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 11
- 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: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Gradle cache
Expand All @@ -114,6 +120,7 @@ jobs:
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
# arch: arm64-v8a # Specify ARM architecture
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ License (Public Domain): [https://github.com/noveogroup/android-logger/blob/mast

- Ruby - https://github.com/optimizely/ruby-sdk

- Swift - https://github.com/optimizely/swift-sdk
- Swift - https://github.com/optimizely/swift-sdk

0 comments on commit 70d50b9

Please sign in to comment.