-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
56 lines (56 loc) · 1.49 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# .circleci/config.yaml
version: 2.1
orbs:
android: circleci/[email protected]
# https://circleci.com/developer/orbs/orb/circleci/android for latest version
jobs:
"test":
executor:
name: android/android-docker
tag: 2023.10.2
steps:
- checkout
- run:
name: "Run Tests"
command: ./gradlew test
- store_artifacts:
path: "app/build/reports/tests/"
"code-analysis":
executor:
name: android/android-docker
tag: 2023.10.2
steps:
- checkout
- run:
name: "Run Code Analyzers"
command: ./gradlew check -x test
- run:
name: "Run Vital Release Checks"
command: ./gradlew app:lintVitalRelease
- store_artifacts:
path: "app/build/reports/checkstyle/"
- store_artifacts:
path: "app/build/reports/pmd/"
- store_artifacts:
path: "app/build/reports/lint-results.html"
- store_artifacts:
path: "app/build/reports/detekt/detekt.html"
"build":
executor:
name: android/android-docker
tag: 2023.10.2
steps:
- checkout
- run:
name: "Run App Build"
command: ./gradlew app:build -x check -x lintVitalRelease -x uploadCrashlyticsMappingFileRelease
- run:
name: "Run App Bundle"
command: ./gradlew app:bundle -x uploadCrashlyticsMappingFileRelease
workflows:
version: 2.1
"Pull Requests Workflow":
jobs:
- test
- code-analysis
- build