Merge branch 'add_ci' into 'keydbpro'

make make test multithreaded

See merge request keydb-dev/KeyDB-Pro!27

Former-commit-id: 7cb619601d110962ef061b99425ab03d914929c8
This commit is contained in:
Malavan Sotheeswaran 2021-07-28 22:23:54 +00:00
commit ae8d015036

View File

@ -13,7 +13,7 @@ build:
- make distclean
- make -j
make-test:
runtest:
rules:
- if: '$COVERAGE'
when: never
@ -27,7 +27,55 @@ make-test:
- git submodule init && git submodule update
- make distclean
- make -j
- make test -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:
@ -99,7 +147,7 @@ endurance-test:
- git submodule init && git submodule update
- make distclean
- make -j
- ./runtest --loop --stop
- ./runtest --config server-threads 3 --loop --stop
coverage-test:
rules: