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
commitede5a1f9cb549d56ff1f3b2a3f5437d13bd14444 (patch)
tree4cdbdc6bb5e78080f2c0a6e049b2146afeebd362 /.gitlab-ci.yml
parentAdding upstream version 0.1.36. (diff)
downloaddebputy-ede5a1f9cb549d56ff1f3b2a3f5437d13bd14444.tar.xz
debputy-ede5a1f9cb549d56ff1f3b2a3f5437d13bd14444.zip
Adding upstream version 0.1.37.upstream/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