summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
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)$/