Skip to content

Merge pull request #110 from apivideo/watch-data-docs #497

Merge pull request #110 from apivideo/watch-data-docs

Merge pull request #110 from apivideo/watch-data-docs #497

Workflow file for this run

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 }}