summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 16:40:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 16:40:52 +0000
commit2e6343172d4291d0db75730b8d9ba5b39682b37a (patch)
tree807ba6b833bac746c6bf1d5c7bc71540c1592675 /.gitlab-ci.yml
parentAdding debian version 0.1.36. (diff)
downloaddebputy-2e6343172d4291d0db75730b8d9ba5b39682b37a.tar.xz
debputy-2e6343172d4291d0db75730b8d9ba5b39682b37a.zip
Merging upstream version 0.1.37.
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, 15 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9f1b22e..b1a785f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,6 +24,7 @@ tests-testing:
- apt-get build-dep -y .
- dpkg-buildpackage -us -uc -tc
+
tests-unstable:
stage: os-build-tests
image: debian:unstable-slim
@@ -32,6 +33,18 @@ tests-unstable:
- apt-get build-dep -Ppkg.debputy.ci -y .
- dpkg-buildpackage -Ppkg.debputy.ci -us -uc -tc
+
+tests-unstable-like-bookworm-backports:
+ # This removes dependencies not available in `bookworm-backports`, which broke
+ # in the first backport.
+ stage: os-build-tests
+ image: debian:unstable-slim
+ script:
+ - apt-get update
+ - apt-get build-dep -Ppkg.debputy.ci -y .
+ - dpkg-buildpackage -Ppkg.debputy.ci,pkg.debputy.bookworm-backports -us -uc -tc
+
+
tests-ubuntu-noble:
stage: os-build-tests
image: ubuntu:noble
@@ -252,7 +265,7 @@ debputy-reformat:
stage: ci-test
image: debian:unstable-slim
script:
- - apt-get update -qq && apt-get -qq build-dep --no-install-recommends --yes .
+ - apt-get update -qq && apt-get -qq build-dep --no-install-recommends --yes . && apt-get -qq install --yes python3-lsprotocol
- ./debputy.sh reformat --linter-exit-code --no-auto-fix
except:
variables:
@@ -262,7 +275,7 @@ debputy-lint:
stage: ci-test
image: debian:sid-slim
script:
- - apt-get update -qq && apt-get -qq build-dep --no-install-recommends --yes . && apt-get -qq install --yes python3-levenshtein python3-junit.xml
+ - apt-get update -qq && apt-get -qq build-dep --no-install-recommends --yes . && apt-get -qq install --yes python3-lsprotocol python3-levenshtein python3-junit.xml
- PERL5LIB=lib ./debputy.sh lint --lint-report-format=junit4-xml --report-output debputy-lint-report.xml
# Mostly just for the validation that --spellcheck does not crash
- PERL5LIB=lib ./debputy.sh lint --spellcheck