Skip to content

Bump version to 3.3.2 #1012

Bump version to 3.3.2

Bump version to 3.3.2 #1012

Workflow file for this run

name: Android CI
on: [ push ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit_tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Project Checkout
uses: actions/checkout@v4
- name: Setup Android Build
uses: ./.github/actions/setup-android-build
- name: Run Tests
run: ./gradlew testDebugUnitTest testPinboardapiDebugUnitTest --stacktrace
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Project Checkout
uses: actions/checkout@v4
- name: Setup Android Build
uses: ./.github/actions/setup-android-build
- name: Build
run: ./gradlew assemblePinboardapi --stacktrace
- name: Upload Pinboard API APK
if: success()
uses: actions/upload-artifact@v4
with:
path: app/build/outputs/apk/pinboardapi/debug/*.apk
instrumented_tests:
name: Instrumented Tests
runs-on: ubuntu-latest
timeout-minutes: 30
needs: [ unit_tests, build ]
steps:
- 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
ls /dev/kvm
- name: Project Checkout
uses: actions/checkout@v4
- name: Setup Android Build
uses: ./.github/actions/setup-android-build
- name: Install GMD image
run: yes | "$ANDROID_HOME"/cmdline-tools/latest/bin/sdkmanager "system-images;android-33;aosp_atd;arm64-v8a"
- name: Accept Android licenses
run: yes | "$ANDROID_HOME"/cmdline-tools/latest/bin/sdkmanager --licenses || true
- name: Run instrumented tests
run: ./gradlew pixel8api34PinboardapiDebugAndroidTest
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
-Pandroid.experimental.androidTest.numManagedDeviceShards=1
-Pandroid.experimental.testOptions.managedDevices.maxConcurrentDevices=1