1
0
mirror of https://codeberg.org/gitnex/GitNex synced 2024-12-23 00:48:57 +01:00
GitNex-Android-App/.woodpecker/check.yml
qwerty287 f310f9f8e6 Fix diff parsing and run unit tests (#1190)
Closes https://codeberg.org/gitnex/GitNex/issues/1167

The regex didn't match if the raw string starts with a `+` or `-`.

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1190
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-08-20 10:30:15 +02:00

21 lines
435 B
YAML

pipeline:
author-header:
image: qwerty287/woodpecker-regex-check
group: check
settings:
pattern: "*.java"
regex: " \\\\* \\\\@author [\\\\S\\\\s]+"
must_contain: true
style:
image: qwerty287/woodpecker-intellij-formatter
group: check
settings:
file_pattern: "*.java"
path: "app/"
test:
image: alvrme/alpine-android:android-31-jdk11
commands:
- ./gradlew test