Skip to content

Commit

Permalink
fix(circle ci workflow): add unit tests to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xameYeoh committed Sep 12, 2023
1 parent 676678f commit 642c872
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ jobs:
name: Store google-services.json
command: echo $GCLOUD_SERVICES_JSON > ${HOME}/project/app/google-services.json
- run:
name: Build debug APK and release APK
name: Build debug and test APK
command: |
./gradlew :app:assembleDebug
./gradlew :app:assembleDebugAndroidTest
- run:
name: Run unit tests
command: ./gradlew :app:testDebugUnitTest
- run:
name: Store Google Service Account
command: echo $GCLOUD_SERVICE_KEY > ${HOME}/gcloud-service-key.json
Expand Down

0 comments on commit 642c872

Please sign in to comment.