From 4bdbb97efdf8ad6d606a47940f66f85897444a60 Mon Sep 17 00:00:00 2001 From: garciagarciaadrian Date: Mon, 6 Nov 2023 15:19:55 +0100 Subject: [PATCH 1/6] Update ci.yml --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e60e69..430b442 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,8 @@ 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" From 428991a48a545d872a417e9b6ea459ed1cfa34e4 Mon Sep 17 00:00:00 2001 From: garciagarciaadrian Date: Mon, 6 Nov 2023 15:30:28 +0100 Subject: [PATCH 2/6] Update ci.yml --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 430b442..2fb24fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,17 @@ jobs: - name: checkout uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11 + + - name: Grant execute permission for Gradle wrapper + run: chmod +x gradlew + + - name: Build with Gradle + run: ./gradlew assembleDebug + - name: run tests uses: reactivecircus/android-emulator-runner@v2 with: From 2c9e51358a4bf9e22dc720d50f6c066ed3fcbdcb Mon Sep 17 00:00:00 2001 From: garciagarciaadrian Date: Mon, 6 Nov 2023 15:33:18 +0100 Subject: [PATCH 3/6] Update ci.yml --- .github/workflows/ci.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fb24fc..fc2b3af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,12 +25,6 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 - - - name: Grant execute permission for Gradle wrapper - run: chmod +x gradlew - - - name: Build with Gradle - run: ./gradlew assembleDebug - name: run tests uses: reactivecircus/android-emulator-runner@v2 From 1e483f0d2b246805aaf491b9798dd1758d0dfc17 Mon Sep 17 00:00:00 2001 From: garciagarciaadrian Date: Mon, 6 Nov 2023 15:47:54 +0100 Subject: [PATCH 4/6] Update ci.yml --- .github/workflows/ci.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc2b3af..430b442 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,11 +21,6 @@ jobs: - name: checkout uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 - with: - java-version: 11 - - name: run tests uses: reactivecircus/android-emulator-runner@v2 with: From 215d68e8dec19bec2765f789e1316733d2324595 Mon Sep 17 00:00:00 2001 From: garciagarciaadrian Date: Mon, 6 Nov 2023 15:51:58 +0100 Subject: [PATCH 5/6] Update ci.yml --- .github/workflows/ci.yml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 430b442..f693315 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,18 +13,28 @@ 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: 11 + 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 From 593e3b813094a8156a509cac5c16a903fc55ad17 Mon Sep 17 00:00:00 2001 From: garciagarciaadrian Date: Mon, 6 Nov 2023 16:03:47 +0100 Subject: [PATCH 6/6] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f693315..7643845 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v3 with: - java-version: 11 + java-version: 17 distribution: 'adopt' cache: 'gradle'