summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2021-01-17 15:48:48 +0200
committerGitHub <noreply@github.com>2021-01-17 15:48:48 +0200
commit522d93607a46e28b035c675fe066778c453e84ba (patch)
tree2034b84457e2b1eb9e2c56532c9f41678b595106 /.github
parentf5cf1e46a4812f0616f0ce763417b8c84f035493 (diff)
downloadredis-522d93607a46e28b035c675fe066778c453e84ba.tar.gz
Add io-thread daily CI tests. (#8232)
This adds basic coverage to IO threads by running the cluster and few selected Redis test suite tests with the IO threads enabled. Also provides some necessary additional improvements to the test suite: * Add --config to sentinel/cluster tests for arbitrary configuration. * Fix --tags whitelisting which was broken. * Add a `network` tag to some tests that are more network intensive. This is work in progress and more tests should be properly tagged in the future.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/daily.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml
index 028c44e0c..cfbf24f87 100644
--- a/.github/workflows/daily.yml
+++ b/.github/workflows/daily.yml
@@ -99,6 +99,23 @@ jobs:
./runtest-cluster --tls
./runtest-cluster
+ test-ubuntu-io-threads:
+ runs-on: ubuntu-latest
+ if: github.repository == 'redis/redis'
+ timeout-minutes: 14400
+ steps:
+ - uses: actions/checkout@v2
+ - name: make
+ run: |
+ make
+ - name: test
+ run: |
+ sudo apt-get install tcl8.5 tcl-tls
+ ./runtest --config io-threads 4 --config io-threads-do-reads yes --accurate --verbose --tags network
+ - name: cluster tests
+ run: |
+ ./runtest-cluster --config io-threads 4 --config io-threads-do-reads yes
+
test-valgrind:
runs-on: ubuntu-latest
if: github.repository == 'redis/redis'