forked from android/sunflower
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
38 lines (34 loc) · 892 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: 2.1
orbs:
android: circleci/[email protected]
gradle: circleci/[email protected]
executors:
android:
docker:
- image: cimg/android:2022.04
jobs:
build:
executor: android
steps:
- checkout
- gradle/with_cache:
steps:
- run:
name: Building the APK
command: ./gradlew -s assembleDebug
- store_artifacts:
path: app/build/outputs/apk/debug/app-debug.apk
workflows:
test-build:
jobs:
- build
- gradle/run:
executor: android
command: ktlint --stacktrace
- gradle/test:
executor: android
test_command: test --stacktrace
test_results_path: app/build/reports/tests
- android/run-ui-tests:
executor: { name: android/android-machine, tag: 2022.04.1 }
test-command: ./gradlew connectedAndroidTest