From 94bc8504a514df2e1941cf2e594144c0559bdfe7 Mon Sep 17 00:00:00 2001 From: Waffle Date: Thu, 13 Aug 2020 00:07:16 +0300 Subject: [PATCH] oops, i've accidentally removed redis setup from ci --- .github/workflows/ci.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 588ea79a..d2dfc583 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,13 +54,20 @@ jobs: toolchain: ${{ matrix.rust }} override: true - - name: build + - name: Build uses: actions-rs/cargo@v1 with: command: build args: --verbose ${{ matrix.features }} - - name: test + - name: Setup redis + run: | + sudo apt install redis-server + redis-server --port 7777 > /dev/null & + redis-server --port 7778 > /dev/null & + redis-server --port 7779 > /dev/null & + + - name: Test uses: actions-rs/cargo@v1 with: command: test @@ -87,5 +94,5 @@ jobs: profile: minimal toolchain: stable override: true - - name: Test the example + - name: Check the example run: cd examples && cd ${{ matrix.example }} && cargo check