Skip to content

Commit

Permalink
Migrate to GoogleCloudPlatform/github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wkrzywiec committed Jan 25, 2020
1 parent 815e06a commit 3e23942
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,13 @@ jobs:
name: app-debug-androidTest

- name: Login to Google Cloud
uses: actions/gcloud/auth@master
env:
GCLOUD_AUTH: ${{ secrets.GCLOUD_AUTH }}
uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
with:
version: '270.0.0'
service_account_key: ${{ secrets.GCLOUD_AUTH }}

- name: Set current project
uses: actions/gcloud/cli@master
with:
args: config set project ${{ secrets.FIREBASE_PROJECT_ID }}
run: gcloud config set project ${{ secrets.FIREBASE_PROJECT_ID }}

- name: Run Instrumentation Tests in Firebase Test Lab
uses: actions/gcloud/cli@master
with:
args: firebase test android run --type instrumentation --app app-debug/app-debug.apk --test app-debug-androidTest/app-debug-androidTest.apk --device model=Pixel2,version=28,locale=pl,orientation=portrait
run: gcloud firebase test android run --type instrumentation --app app-debug/app-debug.apk --test app-debug-androidTest/app-debug-androidTest.apk --device model=Pixel2,version=28,locale=pl,orientation=portrait

0 comments on commit 3e23942

Please sign in to comment.