]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
.gitlab-ci.yml: python:run: added second configuration
authorAleš Mrázek <ales.mrazek@nic.cz>
Wed, 18 Jun 2025 14:14:54 +0000 (16:14 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 4 Jul 2025 17:12:45 +0000 (19:12 +0200)
.gitlab-ci.yml

index db9c198e76f5f9203181f5996224dcea53118a5a..a28d9cfa8d9a412acd60ba126b0c1b1e33c9316b 100644 (file)
@@ -915,13 +915,18 @@ python:run:
   stage: test
   parallel:
     matrix:
-      - CONFIG_FILE_NAME:
-          - config.dev.yaml
-  script:
+      # additional configuration file
+      - ADD_CONFIG_FILE_NAME:
+          - config.test-defer.yaml
+          - config.test-forward.yaml
+          - config.test-local-data.yaml
+          - config.test-rate-limiting.yaml
+  script:
+    - touch etc/config/blocklist.rpz
     - poetry install --all-extras --only main,dev
     - poe configure
     # return code 124 is also OK
-    - timeout 1m poe run || ( [[ $? -eq 124 ]] )
+    - timeout 1m poe run etc/config/${ADD_CONFIG_FILE_NAME} || ( [[ $? -eq 124 ]] )
 
 python:unit:
   <<: *python