chore(dependencies): upgrade dependencies and improve build variables #131
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: Run tests | |
on: [push] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '12' | |
distribution: 'adopt' | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Run unit test | |
run: ./gradlew test | |
instrumented-tests: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '12' | |
distribution: 'adopt' | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Run Android Tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 30 | |
arch: x86_64 | |
script: ./gradlew connectedCheck | |
env: | |
INTEGRATION_TESTS_API_KEY: ${{ secrets.INTEGRATION_TESTS_API_KEY }} |