diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ac3d7ee..62ab369 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,11 +6,11 @@ jobs: name: Deploy runs-on: ubuntu-latest container: - image: circleci/android:api-30 + image: cimg/android:2024.04.1 options: --user root steps: - name: Checkout - uses: actions/checkout@v2.3.3 + uses: actions/checkout@v4 - name: Unit Tests run: ./gradlew test - name: Bundle diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 361647a..4dbb389 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,12 +6,19 @@ on: jobs: test: name: Test - runs-on: macos-10.15 + runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2.3.3 + uses: actions/checkout@v4 + + - 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: Tests - uses: reactivecircus/android-emulator-runner@599839e4285455fff52cd8e3614575e02f1b673f + uses: reactivecircus/android-emulator-runner@77986be26589807b8ebab3fde7bbf5c60dabec32 with: api-level: 29 script: | @@ -19,7 +26,7 @@ jobs: ./gradlew connectedAndroidTest - name: Archive Tests results if: ${{ always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: path: | app/build/reports/androidTests/connected