Fix CI workflow
This commit is contained in:
parent
f542e10264
commit
51025d8181
1 changed files with 27 additions and 15 deletions
42
.github/workflows/android.yml
vendored
42
.github/workflows/android.yml
vendored
|
@ -28,24 +28,36 @@ jobs:
|
||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
steps:
|
steps:
|
||||||
- name: Run unit tests
|
- uses: actions/checkout@v2
|
||||||
uses: gradle/gradle-build-action@v2
|
- name: set up JDK
|
||||||
with:
|
uses: actions/setup-java@v3
|
||||||
arguments: testPlayDebugUnitTest
|
with:
|
||||||
|
distribution: 'zulu'
|
||||||
|
java-version: '17'
|
||||||
|
- name: Run unit tests
|
||||||
|
uses: gradle/gradle-build-action@v2
|
||||||
|
with:
|
||||||
|
arguments: testPlayDebugUnitTest
|
||||||
ui_tests:
|
ui_tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Run UI Tests
|
name: Run UI Tests
|
||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
steps:
|
steps:
|
||||||
- name: Grant execute permission for flank_auth.sh
|
- uses: actions/checkout@v2
|
||||||
run: chmod +x flank_auth.sh
|
- name: set up JDK
|
||||||
- name: Add auth for flank
|
uses: actions/setup-java@v3
|
||||||
env:
|
with:
|
||||||
GCLOUD_KEY: ${{ secrets.GCLOUD_KEY }}
|
distribution: 'zulu'
|
||||||
run: |
|
java-version: '17'
|
||||||
./flank_auth.sh
|
- name: Grant execute permission for flank_auth.sh
|
||||||
- name: Run UI tests
|
run: chmod +x flank_auth.sh
|
||||||
uses: gradle/gradle-build-action@v2
|
- name: Add auth for flank
|
||||||
with:
|
env:
|
||||||
arguments: runFlank
|
GCLOUD_KEY: ${{ secrets.GCLOUD_KEY }}
|
||||||
|
run: |
|
||||||
|
./flank_auth.sh
|
||||||
|
- name: Run UI tests
|
||||||
|
uses: gradle/gradle-build-action@v2
|
||||||
|
with:
|
||||||
|
arguments: runFlank
|
Loading…
Reference in a new issue