mirror of
https://github.com/melihaksoy/Android-Kotlin-Modulerized-CleanArchitecture.git
synced 2026-01-15 05:33:32 +01:00
63 lines
1.3 KiB
YAML
63 lines
1.3 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: |
|
|
fastlane test_app
|
|
./gradlew app:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: Test Core
|
|
run: |
|
|
fastlane test_core
|
|
./gradlew core:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: Test Launches
|
|
run: |
|
|
fastlane test_launches
|
|
./gradlew features:launches:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: Test Detail
|
|
run: |
|
|
fastlane test_detail
|
|
./gradlew features:detail:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
- name: Test Repository
|
|
run: |
|
|
fastlane test_repository
|
|
./gradlew repository:jacocoTestReport
|
|
bash <(curl -s https://codecov.io/bash)
|