Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
klalumiere committed Jun 15, 2024
1 parent 7a523b1 commit 5278ce7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,27 @@ 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: |
./gradlew test
./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
Expand Down

0 comments on commit 5278ce7

Please sign in to comment.