Files
Melih Aksoy 88022629e1 WIP: feature/abstractions (#45)
* Abstraction layer backup

* Removed DataEntity, was unnecessary for now

* Separated network, persistence, entities and interaction, closes #29

* Renamed binding

* Removed build files, example tests

Removed build files, example tests

* Fixed build files were not being ignored all around app

* Updated CI ymls

* Small changes

* Fixed legacy repository package names

* Fixed CQ findings

* Updated Fastlane

* Packaging changes and version upgrades

* Removed core from interactors

* Version bumps

* Added new module graph
2019-10-30 17:27:53 +01:00

124 lines
2.4 KiB
Ruby

# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
# ================ Platform ================
default_platform(:android)
# ================ Lanes ================
platform :android do
before_all do
clean_reports()
end
desc "Detekt checks"
lane :detekt do
run_detekt()
end
desc "Runs tests in app module"
lane :test_app do
run_app_tests()
end
desc "Runs tests in core module"
lane :test_core do
run_core_tests()
end
desc "Runs tests in launches module"
lane :test_launches do
run_launches_tests()
end
desc "Runs tests in detail module"
lane :test_detail do
run_detail_tests()
end
desc "Runs tests in abstraction module"
lane :test_abstractions do
run_abstractions_tests()
end
desc "Runs tests in definitions module"
lane :test_definitions do
run_definitions_tests()
end
desc "Runs tests in interactors module"
lane :test_interactors do
run_interactors_tests()
end
desc "Runs tests in network module"
lane :test_network do
run_network_tests()
end
desc "Runs tests in persistence module"
lane :test_persistence do
run_persistence_tests()
end
# ================ Gradle tasks ================
def run_detekt
gradle(task: "detekt --continue")
end
def clean_reports
gradle(task: "removeReports")
end
def run_app_tests
gradle(task: "app:test --continue")
end
def run_core_tests
gradle(task: "core:test --continue")
end
def run_launches_tests
gradle(task: "features:launches:test --continue")
end
def run_detail_tests
gradle(task: "features:detail:test --continue")
end
def run_abstractions_tests
gradle(task: "abstractions:test --continue")
end
def run_definitions_tests
gradle(task: "data:definitions:test --continue")
end
def run_interactors_tests
gradle(task: "data:interactors:test --continue")
end
def run_network_tests
gradle(task: "data:network:test --continue")
end
def run_persistence_tests
gradle(task: "data:persistence:test --continue")
end
end