Skip to content

Commit

Permalink
Print out downloaded files for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlauser committed Jun 3, 2024
1 parent 5c71913 commit eba0148
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/device-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,18 @@ jobs:
with:
run-id: ${{github.event.workflow_run.id }}

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

- 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: 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

0 comments on commit eba0148

Please sign in to comment.