mirror of
https://github.com/melihaksoy/Android-Kotlin-Modulerized-CleanArchitecture.git
synced 2026-01-14 13:13:34 +01:00
86 lines
2.1 KiB
YAML
86 lines
2.1 KiB
YAML
name: Android CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
code_quality:
|
|
|
|
runs-on: macOS-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Setup
|
|
run: |
|
|
gem install bundler
|
|
bundle install
|
|
|
|
- name: Code Quality ( Detekt )
|
|
run: fastlane detekt
|
|
|
|
test:
|
|
|
|
runs-on: macOS-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Setup
|
|
run: |
|
|
gem install bundler
|
|
bundle install
|
|
|
|
- name: Test App
|
|
run: |
|
|
bundle exec fastlane test_app
|
|
./gradlew app:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: Test Core
|
|
run: |
|
|
bundle exec fastlane test_core
|
|
./gradlew core:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: Test Launches
|
|
run: |
|
|
bundle exec fastlane test_launches
|
|
./gradlew features:launches:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: Test Detail
|
|
run: |
|
|
bundle exec fastlane test_detail
|
|
./gradlew features:detail:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: Test Abstractions
|
|
run: |
|
|
bundle exec fastlane test_abstractions
|
|
./gradlew abstractions:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: Test Definitions
|
|
run: |
|
|
bundle exec fastlane test_definitions
|
|
./gradlew data:definitions:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: Test Interactors
|
|
run: |
|
|
bundle exec fastlane test_interactors
|
|
./gradlew data:interactors:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: Test Network
|
|
run: |
|
|
bundle exec fastlane test_network
|
|
./gradlew data:network:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: Test Persistence
|
|
run: |
|
|
bundle exec fastlane test_persistence
|
|
./gradlew data:persistence:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash) |