forked from LemmyNet/jerboa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.woodpecker.yml
37 lines (33 loc) · 879 Bytes
/
.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
steps:
prettier_markdown_check:
image: tmknom/prettier
commands:
- prettier -c "*.md" "*.yml"
check_formatting:
image: cimg/android:2023.08
commands:
- sudo chown -R circleci:circleci .
- ./gradlew lintKotlin
environment:
GRADLE_RO_DEP_CACHE: .depcache
build_project:
image: cimg/android:2023.08
commands:
- sudo chown -R circleci:circleci .
- ./gradlew assembleDebug
environment:
GRADLE_RO_DEP_CACHE: .depcache
run_tests:
image: cimg/android:2023.08
commands:
- sudo chown -R circleci:circleci .
- ./gradlew testDebug
environment:
GRADLE_RO_DEP_CACHE: .depcache
notify:
image: alpine:3
commands:
- apk add curl
- "curl -d'Jerboa build ${CI_PIPELINE_STATUS}: ${CI_PIPELINE_URL}' ntfy.sh/jerboa_ci"
when:
status: [failure, success]