gitlab-ci: split out ci scripts into tiny standalone job

This commit is contained in:
Hans-Christoph Steiner 2022-12-19 15:40:51 +01:00
parent e1915bc044
commit f6d77ee5e7
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA
1 changed files with 8 additions and 0 deletions

View File

@ -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