]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Run unstable unit tests in CI
authorMichal Nowak <mnowak@isc.org>
Fri, 26 Mar 2021 10:51:46 +0000 (11:51 +0100)
committerMichal Nowak <mnowak@isc.org>
Wed, 9 Feb 2022 12:08:00 +0000 (13:08 +0100)
Running unstable unit tests in CI should help with making sure they
don't fail permanently without the fact being noticed in daily
pipelines.

(cherry picked from commit 1d8788464e07174f7a729501b61b0110a6983837)

.gitlab-ci.yml

index bfc1fca7595b1d983d06b2841a977a29b9db914d..634eaa223b7d19b130ffba792ccbcddf07d9e77b 100644 (file)
@@ -691,6 +691,7 @@ unit:gcc:buster:amd64:
       artifacts: true
 
 # Jobs for regular GCC builds on Debian 11 "bullseye" (amd64)
+# (The second unit test job also executes unstable unit tests.)
 
 gcc:bullseye:amd64:
   variables:
@@ -715,6 +716,20 @@ unit:gcc:bullseye:amd64:
     - job: gcc:bullseye:amd64
       artifacts: true
 
+unit:gcc:bullseye:unstable:amd64:
+  <<: *debian_bullseye_amd64_image
+  <<: *unit_test_job
+  variables:
+    CI_ENABLE_ALL_TESTS: 1
+  needs:
+    - job: gcc:bullseye:amd64
+      artifacts: true
+  only:
+    - api
+    - schedules
+    - triggers
+    - web
+
 # Jobs for cross-compiled GCC builds on Debian 11 "bullseye" (amd64) with
 # 32-bit libraries