gitlab-ci: split out ci scripts into tiny standalone job
This commit is contained in:
parent
e1915bc044
commit
f6d77ee5e7
|
@ -1,6 +1,7 @@
|
|||
image: registry.gitlab.com/fdroid/fdroidserver:buildserver-bullseye
|
||||
|
||||
stages:
|
||||
- lint
|
||||
- test
|
||||
- deploy
|
||||
|
||||
|
@ -60,6 +61,13 @@ test_lint_pmd_checkstyle:
|
|||
# always report on lint errors to the build log
|
||||
- sed -i -e 's,textReport .*,textReport true,' app/build.gradle
|
||||
- ./gradlew lint pmd checkstyle ktlintCheck testDebugUnitTest testFullDebugUnitTest
|
||||
|
||||
tools scripts:
|
||||
stage: lint
|
||||
image: debian:bullseye-slim
|
||||
script:
|
||||
- apt-get update
|
||||
- apt-get -qy install --no-install-recommends git python3
|
||||
- ./tools/check-format-strings.py
|
||||
- ./tools/check-fastlane-whitespace.py
|
||||
- ./tools/remove-unused-and-blank-translations.py
|
||||
|
|
Loading…
Reference in New Issue