diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e60e69..7643845 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,23 +7,34 @@ on: - 'AliceOnboardingSampleApp/app/build.gradle' branches: - 'main' - + workflow_dispatch: + env: ALICE_GITHUB_ACCESS_TOKEN: ${{ secrets.ALICE_GITHUB_ACCESS_TOKEN }} GITHUB_API_URI: "https://api.github.com" GITHUB_API_HEADER: "Accept: application/vnd.github.v3+json" - + jobs: - ci: - runs-on: macOS-11 + connected-tests: + runs-on: macos-latest + steps: - - name: checkout - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v3 - - name: run tests - uses: reactivecircus/android-emulator-runner@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: 'adopt' + cache: 'gradle' + + - name: Run connected tests + uses: ReactiveCircus/android-emulator-runner@v2 with: working-directory: ./AliceOnboardingSampleApp - api-level: 29 + api-level: 30 + target: google_apis + arch: x86_64 script: ./gradlew connectedCheck