summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:05:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:05:28 +0000
commita4b65820a6d367018519b5acf4b450a103201ea3 (patch)
treee566fc8f1dc451faf91533d546b1c1622d67044a /.gitlab-ci.yml
parentAdding upstream version 0.1.29. (diff)
downloaddebputy-a4b65820a6d367018519b5acf4b450a103201ea3.tar.xz
debputy-a4b65820a6d367018519b5acf4b450a103201ea3.zip
Adding upstream version 0.1.30.upstream/0.1.30
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml17
1 files changed, 13 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 565d0d9..b3d32b2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -143,17 +143,26 @@ pages:
- main
variables:
- SALSA_CI_DISABLE_WRAP_AND_SORT: 0
- SALSA_CI_WRAP_AND_SORT_ARGS: '-abkt'
+ SALSA_CI_DISABLE_WRAP_AND_SORT: 1
SALSA_CI_AUTOPKGTEST_ALLOWED_EXIT_STATUS: 0
SALSA_CI_DISABLE_APTLY: 0
+debputy-reformat:
+ stage: ci-test
+ image: debian:sid-slim
+ script:
+ - apt-get update -qq && apt-get -qq build-dep --no-install-recommends --yes .
+ - ./debputy.sh reformat --linter-exit-code --no-auto-fix
+ except:
+ variables:
+ - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/
+
debputy-lint:
stage: ci-test
image: debian:sid-slim
script:
- - apt-get update -qq && apt-get -qq install --no-install-recommends --yes dh-debputy python3-pygls
- - PERL5LIB=lib debputy lint --spellcheck
+ - apt-get update -qq && apt-get -qq build-dep --no-install-recommends --yes .
+ - PERL5LIB=lib ./debputy.sh lint --spellcheck
except:
variables:
- $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/