Skip to content

Commit

Permalink
132 re structure off device classes into a separate module (#134)
Browse files Browse the repository at this point in the history
* Bumping version number to a major version
* Removing logger, app and safe to run plus into separate modules
* All off-device login will go into safetorunplus in a separate module to reduce binary size
* App is removed due to the un-needed time it adds to build and import times
  • Loading branch information
dllewellyn authored Sep 29, 2023
1 parent 389ce9e commit 7f2ca47
Show file tree
Hide file tree
Showing 152 changed files with 16 additions and 4,862 deletions.
60 changes: 1 addition & 59 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup Java JDK
uses: actions/[email protected]
with:
Expand All @@ -35,54 +27,4 @@ jobs:
env:
SERVER_URL: 'http://example.com'
API_KEY: 'apikey'
- name: Upload Android Test APK
uses: actions/upload-artifact@v1
with:
name: app-debug-androidTest
path: app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk
- name: Upload app APK
uses: actions/upload-artifact@v1
with:
name: app-debug
path: app/build/outputs/apk/debug/app-debug.apk
- name: Upload Android Test APK (Pin screen)
uses: actions/upload-artifact@v1
with:
name: app-debug-androidTest-pin
path: safetorunpinscreen/build/outputs/apk/androidTest/debug/safetorunpinscreen-debug-androidTest.apk
- name: Upload app APK (Pin screen)
uses: actions/upload-artifact@v1
with:
name: app-debug-pin
path: app/build/outputs/apk/debug/app-debug.apk

firebaseTest:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
- name: Download app APK
uses: actions/download-artifact@v1
with:
name: app-debug

- name: Download Android test APK
uses: actions/download-artifact@v1
with:
name: app-debug-androidTest

- name: Login to Google Cloud
uses: google-github-actions/setup-gcloud@v0
with:
service_account_key: ${{ secrets.GCLOUD_AUTH }}
- name: print secrets
run: |
echo $AUTH_KEY >> google-service-key.json
shell: bash
env:
AUTH_KEY : ${{secrets.GCLOUD_AUTH}}
- name: Set project id
run: gcloud config set project ${{ secrets.FIREBASE_PROJECT_ID }}

- name: Run Instrumentation Tests in Firebase Test Lab
run: gcloud firebase test android run --type instrumentation --app app-debug/app-debug.apk --test app-debug-androidTest/app-debug-androidTest.apk --device-ids=redfin,star2lte,judypn --os-version-ids=28,29,30

6 changes: 0 additions & 6 deletions app/.classpath

This file was deleted.

1 change: 0 additions & 1 deletion app/.gitignore

This file was deleted.

34 changes: 0 additions & 34 deletions app/.project

This file was deleted.

2 changes: 0 additions & 2 deletions app/.settings/org.eclipse.buildship.core.prefs

This file was deleted.

94 changes: 0 additions & 94 deletions app/build.gradle

This file was deleted.

71 changes: 0 additions & 71 deletions app/buildSrc/configuration.json

This file was deleted.

21 changes: 0 additions & 21 deletions app/proguard-rules.pro

This file was deleted.

35 changes: 0 additions & 35 deletions app/src/androidTest/java/com/andro/secure/BouncyIntentTest.kt

This file was deleted.

Loading

0 comments on commit 7f2ca47

Please sign in to comment.