From 697f17f91d50859bdf4106f77db835a775d84734 Mon Sep 17 00:00:00 2001 From: malavan Date: Mon, 19 Jul 2021 16:59:03 +0000 Subject: [PATCH] split up runtests Former-commit-id: 93e36a064033dc55fe281fe113425b33cf42b2c3 --- .gitlab-ci.yml | 50 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 621c716fa..4a48a6362 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,7 @@ build: - make distclean - make -j -make-test: +runtest: rules: - if: '$COVERAGE' when: never @@ -29,6 +29,54 @@ make-test: - make -j - ./runtest --config server-threads 3 +runtest-cluster: + rules: + - if: '$COVERAGE' + when: never + - if: '$ENDURANCE' + when: never + - when: always + tags: + - docker + stage: test + script: + - git submodule init && git submodule update + - make distclean + - make -j + - ./runtest-cluster + +runtest-moduleapi: + rules: + - if: '$COVERAGE' + when: never + - if: '$ENDURANCE' + when: never + - when: always + tags: + - docker + stage: test + script: + - git submodule init && git submodule update + - make distclean + - make -j + - ./runtest-moduleapi + +runtest-sentinel: + rules: + - if: '$COVERAGE' + when: never + - if: '$ENDURANCE' + when: never + - when: always + tags: + - docker + stage: test + script: + - git submodule init && git submodule update + - make distclean + - make -j + - ./runtest-sentinel + node-redis-test: rules: - if: '$COVERAGE'