oops, i've accidentally removed redis setup from ci

This commit is contained in:
Waffle 2020-08-13 00:07:16 +03:00
parent a368de15b1
commit 94bc8504a5

View file

@ -54,13 +54,20 @@ jobs:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
override: true override: true
- name: build - name: Build
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: build command: build
args: --verbose ${{ matrix.features }} 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 uses: actions-rs/cargo@v1
with: with:
command: test command: test
@ -87,5 +94,5 @@ jobs:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
override: true override: true
- name: Test the example - name: Check the example
run: cd examples && cd ${{ matrix.example }} && cargo check run: cd examples && cd ${{ matrix.example }} && cargo check