mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-04 09:17:29 +01:00
test2
This commit is contained in:
parent
96925d7ba3
commit
6b96072d00
@ -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
|
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user