Skip to content

Commit

Permalink
Test commit to fix failed ui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wasky committed May 10, 2024
1 parent c546e76 commit cf4e48f
Showing 1 changed file with 11 additions and 31 deletions.
42 changes: 11 additions & 31 deletions .github/workflows/app_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,33 @@ name: UI test in android emulator CI

on:
push:
branches: [ master ]
pull_request:
branches:
- master
- kotlin-conversion

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Build with Gradle
run: ./gradlew build

unit-tests:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Run all checks
run: ./gradlew check --stacktrace

ui-test:
runs-on: macos-latest
timeout-minutes: 30
timeout-minutes: 10
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- 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: set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b

- name: run ui tests
uses: reactivecircus/android-emulator-runner@v2
with:
Expand Down

0 comments on commit cf4e48f

Please sign in to comment.