Update tests and CI environment #21
Workflow file for this run
This file contains hidden or 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: Build/Test | |
| on: | |
| # Trigger on every pull request | |
| pull_request: | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Paris | |
| uses: actions/checkout@v2 | |
| - uses: actions/setup-java@v2 | |
| name: Setting up Java 11 | |
| with: | |
| distribution: liberica | |
| java-version: '17' | |
| - name: Build / Unit tests / Lint | |
| run: "./gradlew check --stacktrace" | |
| - name: Run UI Tests | |
| uses: reactivecircus/android-emulator-runner@v2 | |
| with: | |
| emulator-build: 7425822 | |
| api-level: 21 | |
| target: default | |
| arch: x86_64 | |
| emulator-options: -no-skin -no-window | |
| script: ./gradlew connectedDebugAndroidTest --stacktrace |