From 51025d8181502cea71aac7b24f76deb574b50ce6 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Fri, 29 Sep 2023 08:16:16 -0600 Subject: [PATCH] Fix CI workflow --- .github/workflows/android.yml | 42 ++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 5878033..16261d5 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -28,24 +28,36 @@ jobs: needs: - build steps: - - name: Run unit tests - uses: gradle/gradle-build-action@v2 - with: - arguments: testPlayDebugUnitTest + - uses: actions/checkout@v2 + - name: set up JDK + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: '17' + - name: Run unit tests + uses: gradle/gradle-build-action@v2 + with: + arguments: testPlayDebugUnitTest ui_tests: runs-on: ubuntu-latest name: Run UI Tests needs: - build steps: - - name: Grant execute permission for flank_auth.sh - run: chmod +x flank_auth.sh - - name: Add auth for flank - env: - GCLOUD_KEY: ${{ secrets.GCLOUD_KEY }} - run: | - ./flank_auth.sh - - name: Run UI tests - uses: gradle/gradle-build-action@v2 - with: - arguments: runFlank + - uses: actions/checkout@v2 + - name: set up JDK + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: '17' + - name: Grant execute permission for flank_auth.sh + run: chmod +x flank_auth.sh + - name: Add auth for flank + env: + GCLOUD_KEY: ${{ secrets.GCLOUD_KEY }} + run: | + ./flank_auth.sh + - name: Run UI tests + uses: gradle/gradle-build-action@v2 + with: + arguments: runFlank \ No newline at end of file