Merge pull request #110 from apivideo/watch-data-docs #497
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@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
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@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Run Android Tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 34 | |
arch: x86_64 | |
script: ./gradlew connectedCheck | |
env: | |
INTEGRATION_TESTS_API_KEY: ${{ secrets.INTEGRATION_TESTS_API_TOKEN }} |