mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Merge pull request #673 from teloxide/actually-dont-build-examples-with-msrv-on-ci
**Actually** don't build examples with MSRV on CI
Former-commit-id: 68f9ccfcb1
This commit is contained in:
commit
cb873cbc3e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -102,11 +102,12 @@ jobs:
|
||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
uses: Swatinem/rust-cache@v1
|
uses: Swatinem/rust-cache@v1
|
||||||
|
|
||||||
|
# NB. Don't test (build) examples so we can use non-msrv features in them (--tests/--doc)
|
||||||
- name: Compile
|
- name: Compile
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --no-run --verbose ${{ matrix.features }}
|
args: --tests --no-run --verbose ${{ matrix.features }}
|
||||||
|
|
||||||
- name: Setup redis
|
- name: Setup redis
|
||||||
run: |
|
run: |
|
||||||
|
@ -115,7 +116,6 @@ jobs:
|
||||||
redis-server --port 7778 > /dev/null &
|
redis-server --port 7778 > /dev/null &
|
||||||
redis-server --port 7779 > /dev/null &
|
redis-server --port 7779 > /dev/null &
|
||||||
|
|
||||||
# NB. Don't test (build) examples so we can use non-msrv features in them
|
|
||||||
- name: Test unit & integration tests
|
- name: Test unit & integration tests
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue