mirror of
https://github.com/hmalik144/Driver.git
synced 2026-03-18 07:26:03 +00:00
Local testing
This commit is contained in:
@@ -26,6 +26,7 @@ commands:
|
||||
command: |
|
||||
sudo chmod +x ./gradlew
|
||||
./gradlew androidDependencies
|
||||
- android/save-gradle-cache
|
||||
# Setup files for build.
|
||||
- run:
|
||||
name: Setup variables for build
|
||||
@@ -125,10 +126,10 @@ jobs:
|
||||
steps:
|
||||
# Checkout the code and its submodule as the first step.
|
||||
- setup_repo
|
||||
- run_tests:
|
||||
flavour: << parameters.flavour >>
|
||||
- run_ui_tests:
|
||||
flavour: << parameters.flavour >>
|
||||
# - run_tests:
|
||||
# flavour: << parameters.flavour >>
|
||||
# - run_ui_tests:
|
||||
# flavour: << parameters.flavour >>
|
||||
# Invoke jobs via workflows
|
||||
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
|
||||
workflows:
|
||||
@@ -137,37 +138,41 @@ workflows:
|
||||
jobs:
|
||||
- build-and-test:
|
||||
flavour: "Driver"
|
||||
filters:
|
||||
branches:
|
||||
ignore:
|
||||
- main_admin
|
||||
# filters:
|
||||
# branches:
|
||||
# ignore:
|
||||
# - main_admin
|
||||
- android/deploy-to-play-store:
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- main_driver
|
||||
- circleci_branch_filter_fix
|
||||
requires:
|
||||
- build-and-test
|
||||
executor:
|
||||
name: android/android-machine
|
||||
tag: 2023.05.1
|
||||
keystore-location: "./app/keystore.jks"
|
||||
release-keystore: "keystore.jks"
|
||||
lane-name: deployDriver
|
||||
build-release-admin:
|
||||
jobs:
|
||||
- build-and-test:
|
||||
flavour: "Admin"
|
||||
filters:
|
||||
branches:
|
||||
ignore:
|
||||
- main_driver
|
||||
- android/deploy-to-play-store:
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- main_admin
|
||||
requires:
|
||||
- build-and-test
|
||||
executor:
|
||||
name: android/android-machine
|
||||
tag: 2023.05.1
|
||||
lane-name: deployAdmin
|
||||
# build-release-admin:
|
||||
# jobs:
|
||||
# - build-and-test:
|
||||
# flavour: "Admin"
|
||||
# filters:
|
||||
# branches:
|
||||
# ignore:
|
||||
# - main_driver
|
||||
# - android/deploy-to-play-store:
|
||||
# filters:
|
||||
# branches:
|
||||
# only:
|
||||
# - main_admin
|
||||
# requires:
|
||||
# - build-and-test
|
||||
# executor:
|
||||
# name: android/android-machine
|
||||
# tag: 2023.05.1
|
||||
# keystore-location: "keystore.jks"
|
||||
# lane-name: deployAdmin
|
||||
Reference in New Issue
Block a user