summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2020-02-25 13:01:52 +0200
committerantirez <antirez@gmail.com>2020-02-27 18:02:30 +0100
commit0b988fa9ece7e92bd84d509ea281b03c120db74f (patch)
tree0a6bf13e124d6f468180bb887ec983595d0e9bbb /.github
parent60096bc1a1d24e87a4ab9b4bcc671e1a9925476a (diff)
downloadredis-0b988fa9ece7e92bd84d509ea281b03c120db74f.tar.gz
fix github actions failing latency test for active defrag
seems that github actions are slow, using just one client to reduce false positives. also adding verbose, testing only on latest ubuntu, and building on older one. when doing that, i can reduce the test threshold back to something saner
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml21
1 files changed, 11 insertions, 10 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 847abcf02..559ae61d8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,11 +3,8 @@ name: CI
on: [push, pull_request]
jobs:
- build-ubuntu:
- strategy:
- matrix:
- platform: [ubuntu-latest, ubuntu-16.04]
- runs-on: ${{ matrix.platform }}
+ test-ubuntu-latest:
+ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: make
@@ -15,13 +12,17 @@ jobs:
- name: test
run: |
sudo apt-get install tcl8.5
- make test
+ ./runtest --clients 1 --verbose
+
+ test-ubuntu-old:
+ runs-on: ubuntu-16.04
+ steps:
+ - uses: actions/checkout@v1
+ - name: make
+ run: make
build-macos-latest:
- strategy:
- matrix:
- platform: [macos-latest, macOS-10.14]
- runs-on: ${{ matrix.platform }}
+ runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: make