]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
gitlabci: fix deckard
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 20 Feb 2019 13:22:18 +0000 (14:22 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 09:43:34 +0000 (10:43 +0100)
.gitlab-ci.yml

index e9e25a2d33f20078da135152f3bdff4f9bfb45dd..ab041d057b51139b6f9f3274eb0860beebc215fd 100644 (file)
@@ -115,6 +115,7 @@ srpm:
     when: always
     paths:
       - build_ci*/meson-logs/testlog.txt
+      - tmpdeckard*
 
 .test_flaky: &test_flaky
   <<: *test
@@ -211,31 +212,11 @@ doc:
     - docker
 
 deckard:
-  stage: test
-  except:
-    refs:
-      - master
-    variables:
-      # prevent unstable test from cancelling nightly OBS build
-      - $SKIP_FLAKY == "1"  # TODO use in schedules
+  <<: *test_flaky
   variables:
     TMPDIR: $CI_PROJECT_DIR
   script:
-    - DECKARDFLAGS="-n $(nproc)" PATH="$PREFIX/sbin:$PATH" make check-integration
-  # these errors are side-effect of Git way of handling file timestamps
-    - MAKEFLAGS="--jobs $(nproc)" test "${COVERAGE:-0}" -eq 1 && make coverage-c coverage-lua COVERAGE_STAGE=gcov-deckard 2>&1 | grep -vE '(source file is newer than notes file)|(the message is displayed only once per source file)' || echo "code coverage skipped"
-  dependencies:
-    - build
-  artifacts:
-    when: always
-    paths:
-      - ./*.info
-      - tmpdeckard*
-    expire_in: 1 week
-  tags:
-    - docker
-    - linux
-    - amd64
+    - meson test -C build_ci* --suite integration
 
 test:valgrind:
   <<: *test