summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2021-11-18 22:04:01 +0800
committerGitHub <noreply@github.com>2021-11-18 16:04:01 +0200
commit020092e08fb1afe8712bd557f09e00a98fbc1cca (patch)
treee62734928363832644242b2d8581c408a9417cba /.github
parent1a255e315024d4536cddba9d7ca6d06699d17be3 (diff)
downloadredis-020092e08fb1afe8712bd557f09e00a98fbc1cca.tar.gz
Add --dump-logs to ci tests and daily tests (#9803)
So that we can print server log on test failure.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml8
-rw-r--r--.github/workflows/daily.yml4
2 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6a8b7fc13..bd96ed0d9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,9 +15,9 @@ jobs:
- name: test
run: |
sudo apt-get install tcl8.6 tclx
- ./runtest --verbose --tags -slow
+ ./runtest --verbose --tags -slow --dump-logs
- name: module api test
- run: ./runtest-moduleapi --verbose
+ run: ./runtest-moduleapi --verbose --dump-logs
test-sanitizer-address:
runs-on: ubuntu-latest
@@ -28,9 +28,9 @@ jobs:
- name: testprep
run: sudo apt-get install tcl8.6 tclx -y
- name: test
- run: ./runtest --verbose --tags -slow
+ run: ./runtest --verbose --tags -slow --dump-logs
- name: module api test
- run: ./runtest-moduleapi --verbose
+ run: ./runtest-moduleapi --verbose --dump-logs
build-debian-old:
runs-on: ubuntu-latest
diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml
index 55165626a..58501dc0a 100644
--- a/.github/workflows/daily.yml
+++ b/.github/workflows/daily.yml
@@ -338,7 +338,7 @@ jobs:
run: ./runtest --accurate --verbose --dump-logs ${{github.event.inputs.test_args}}
- name: module api test
if: true && !contains(github.event.inputs.skiptests, 'modules')
- run: ./runtest-moduleapi --verbose ${{github.event.inputs.test_args}}
+ run: ./runtest-moduleapi --verbose --dump-logs ${{github.event.inputs.test_args}}
- name: sentinel tests
if: true && !contains(github.event.inputs.skiptests, 'sentinel')
run: ./runtest-sentinel ${{github.event.inputs.cluster_test_args}}
@@ -380,7 +380,7 @@ jobs:
run: ./runtest --accurate --verbose --dump-logs ${{github.event.inputs.test_args}}
- name: module api test
if: true && !contains(github.event.inputs.skiptests, 'modules')
- run: ./runtest-moduleapi --verbose ${{github.event.inputs.test_args}}
+ run: ./runtest-moduleapi --verbose --dump-logs ${{github.event.inputs.test_args}}
- name: sentinel tests
if: true && !contains(github.event.inputs.skiptests, 'sentinel')
run: ./runtest-sentinel ${{github.event.inputs.cluster_test_args}}