-
Notifications
You must be signed in to change notification settings - Fork 168
/
.woodpecker.yml
49 lines (44 loc) · 1.06 KB
/
.woodpecker.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
variables:
- &android_image "cimg/android:2024.11"
steps:
prettier_markdown_check:
image: tmknom/prettier
commands:
- prettier -c "*.md" "*.yml"
when:
- event: pull_request
check_formatting:
image: *android_image
commands:
- sudo chown -R circleci:circleci .
- ./gradlew lintKotlin
environment:
GRADLE_USER_HOME: ".gradle"
when:
- event: pull_request
build_project:
image: *android_image
commands:
- sudo chown -R circleci:circleci .
- ./gradlew assembleRelease
environment:
GRADLE_USER_HOME: ".gradle"
when:
- event: pull_request
run_tests:
image: *android_image
commands:
- sudo chown -R circleci:circleci .
- ./gradlew testDebug
environment:
GRADLE_USER_HOME: ".gradle"
when:
- event: pull_request
notify:
image: alpine:3
commands:
- apk add curl
- "curl -d'Jerboa build ${CI_PIPELINE_STATUS}: ${CI_PIPELINE_URL}' ntfy.sh/jerboa_ci"
when:
- event: pull_request
status: [failure, success]