- circleci update

This commit is contained in:
2023-08-07 15:37:08 +01:00
parent 6e3e597717
commit 858bed2f9e

View File

@@ -18,13 +18,13 @@ commands:
build_gradle:
description: Build the gradle
steps:
- android/restore-gradle-cache
# - android/restore-gradle-cache
- run:
name: Download Dependencies
command: |
sudo chmod +x ./gradlew
./gradlew androidDependencies
- android/save-gradle-cache
# ./gradlew androidDependencies
# - android/save-gradle-cache
run_tests:
description: run tests for flavour specified
parameters:
@@ -33,7 +33,7 @@ commands:
default: "AtlasWeather"
steps:
# The next step will run the unit tests
# - build_gradle
- build_gradle
- run:
name: Run non-instrumentation unit tests
command: |
@@ -50,7 +50,7 @@ commands:
type: string
default: "AtlasWeather"
steps:
# - build_gradle
- build_gradle
- android/start-emulator-and-run-tests:
post-emulator-launch-assemble-command: ./gradlew assemble<< parameters.flavour >>DebugAndroidTest
test-command: ./gradlew connected<< parameters.flavour >>DebugAndroidTest
@@ -80,7 +80,7 @@ commands:
name: Setup playstore key
command: |
echo "$GOOGLE_PLAY_KEY" > "google-play-key.json"
# - build_gradle
- build_gradle
- run:
name: Run fastlane command to deploy to playstore
command: |