1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-20 20:10:15 +02:00
This commit is contained in:
José Rebelo 2023-09-06 21:45:50 +01:00
parent 96925d7ba3
commit 6b96072d00
3 changed files with 4 additions and 32 deletions

View File

@ -1,16 +0,0 @@
steps:
build:
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
commands:
- pwd #bump
- ./gradlew assembleDebug --stacktrace
#when:
#repo: Freeyourgadget/Gadgetbridge
#branch: master
#this doesn't work yet:
#https://github.com/woodpecker-ci/woodpecker/issues/687
when:
event:
exclude: cron

View File

@ -1,16 +0,0 @@
steps:
tests:
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
commands:
- pwd #bump
- ./gradlew lint
#when:
#repo: Freeyourgadget/Gadgetbridge
#branch: master
#this doesn't work yet:
#https://github.com/woodpecker-ci/woodpecker/issues/687
when:
event:
exclude: cron

View File

@ -4,12 +4,16 @@ steps:
commands:
- pwd #bump
- ./gradlew :app:testBangleDebugUnitTest :app:testMainDebugUnitTest
# mark pipeline as failed if the tests failed, but linter will still run
- '[ "$CI_STEP_STATUS" == "success" ] || touch .pipeline_failure'
failure: ignore
lint:
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
commands:
- pwd #bump
- ./gradlew lint
- if [ -f .pipeline_failure ]; then return 1; fi
#when:
#repo: Freeyourgadget/Gadgetbridge