Skip to content

Commit

Permalink
Merge pull request #547 from willowtreeapps/chore/538-move-firebase-t…
Browse files Browse the repository at this point in the history
…ests-separate-workflow-9

Re-enable firebase tests
  • Loading branch information
PaulKlauser authored Jun 3, 2024
2 parents f0fdad2 + 7e7f9d2 commit 2c8fa41
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/device-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,15 @@ jobs:
run-id: ${{github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Display structure of downloaded files
run: ls -R
- name: Decode Firebase Service Account JSON
run: echo ${{ secrets.FIREBASE_SERVICE_ACCOUNT_BASE_64 }} | base64 -d > service_account.json

# - name: Decode Firebase Service Account JSON
# run: echo ${{ secrets.FIREBASE_SERVICE_ACCOUNT_BASE_64 }} | base64 -d > service_account.json
#
# - name: 'Run Device Tests on Firebase Test Lab'
# run: |
# gcloud auth login --cred-file=service_account.json
# gcloud config set project vocable-fcb07
# gcloud firebase test android run \
# --app apk/debug/app-debug.apk \
# --test apk/androidTest/debug/app-debug-androidTest.apk \
# --device version=34,orientation=portrait,model=MediumPhone.arm,locale=en_US \
# --test-runner-class com.willowtree.vocable.utility.VocableTestRunner
- name: 'Run Device Tests on Firebase Test Lab'
run: |
gcloud auth login --cred-file=service_account.json
gcloud config set project vocable-fcb07
gcloud firebase test android run \
--app apk/debug/app-debug.apk \
--test apk/androidTest/debug/app-debug-androidTest.apk \
--device version=34,orientation=portrait,model=MediumPhone.arm,locale=en_US \
--test-runner-class com.willowtree.vocable.utility.VocableTestRunner

0 comments on commit 2c8fa41

Please sign in to comment.