diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a5926e71..aea9f94e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,3 +13,24 @@ jobs: - name: Run build with Gradle Wrapper run: ./gradlew build -x lint + + tests: + runs-on: macos-latest + steps: + - name: Checkout project sources + uses: actions/checkout@v3 + + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: 11 + distribution: 'adopt' + cache: 'gradle' + + - name: Run tests + uses: reactivecircus/android-emulator-runner@v2 + with: + api-level: 29 + script: ./gradlew connectedAndroidTest --stacktrace + disable-animations: true + disable-spellchecker: true