Skip to content

Commit

Permalink
build with E2E_TESTING env var
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Jan 5, 2023
1 parent dee9ac5 commit a0c3d17
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/preDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ jobs:

- name: Build "Compare" APK
run: npm run android-build-e2e
env:
E2E_TESTING: true

- name: Copy "Compare" APK
run: cp android/app/build/outputs/apk/e2eRelease/app-e2eRelease.apk zip/app-e2eRelease-compare.apk
Expand All @@ -274,6 +276,8 @@ jobs:

- name: Build "Baseline" APK
run: npm run android-build-e2e
env:
E2E_TESTING: true

- name: Copy "Baseline" APK
run: cp android/app/build/outputs/apk/e2eRelease/app-e2eRelease.apk zip/app-e2eRelease-baseline.apk
Expand Down Expand Up @@ -314,6 +318,9 @@ jobs:
- name: Unzip AWS Device Farm results
run: unzip Customer\ Artifacts.zip

- name: Print AWS Device Farm run results
run: cat Customer\ Artifacts/Host_Machine_Files/$WORKING_DIRECTORY/debug.log

- name: Set output of AWS Device Farm into GitHub ENV
run: |
{ echo 'OUTPUT<<EOF'; cat ./Host_Machine_Files/\$WORKING_DIRECTORY/output.md; echo 'EOF'; } >> "$GITHUB_ENV"
Expand Down

0 comments on commit a0c3d17

Please sign in to comment.