[fix] Settings now use material3 switches. #305
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous integration | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Unit Tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- name: Set up JDK environment | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "zulu" | |
java-version: 17 | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Run local unit tests | |
run: bash ./gradlew test --stacktrace | |
- name: Android Test Report | |
uses: asadmansr/[email protected] | |
#androidTest: | |
# name: Instrumented Tests | |
# runs-on: macOS-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# with: | |
# submodules: 'recursive' | |
# - name: Set up JDK 1.8 | |
# uses: actions/setup-java@v1 | |
# with: | |
# java-version: 1.8 | |
# - name: Make gradlew executable | |
# run: chmod +x ./gradlew | |
# - name: Run Instrumented Tests | |
# uses: reactivecircus/android-emulator-runner@v1 | |
# with: | |
# api-level: 29 | |
# arch: x86 | |
# disable-animations: true | |
# script: ./gradlew connectedAndroidTest --stacktrace | |
apk: | |
name: Build APK | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- name: Set up JDK environment | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "zulu" | |
java-version: 17 | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Build debug APK | |
run: ./gradlew assembleDebug |