Skip to content

Release 1.9.0 (#109) #243

Release 1.9.0 (#109)

Release 1.9.0 (#109) #243

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
timeout-minutes: 40
runs-on: ubuntu-latest
steps:
# See: https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/
- 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: checkout
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: test
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 28
script: ./gradlew clean test --stacktrace
- name: upload coverage
uses: codecov/codecov-action@v4
with:
files: ./plugin/build/reports/jacoco/test/jacocoTestReport.xml
token: ${{ secrets.CODECOV_TOKEN }}