mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 17:52:12 +01:00
oops, i've accidentally removed redis setup from ci
This commit is contained in:
parent
a368de15b1
commit
94bc8504a5
1 changed files with 10 additions and 3 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue