mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 17:52:12 +01:00
Don't build examples when testing on CI
This commit is contained in:
parent
a9886d8419
commit
77d1c4524d
1 changed files with 9 additions and 2 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -115,11 +115,18 @@ jobs:
|
|||
redis-server --port 7778 > /dev/null &
|
||||
redis-server --port 7779 > /dev/null &
|
||||
|
||||
- name: Test
|
||||
# NB. Don't test (build) examples so we can use non-msrv features in them
|
||||
- name: Test unit & integration tests
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --verbose ${{ matrix.features }}
|
||||
args: --tests --verbose ${{ matrix.features }}
|
||||
|
||||
- name: Test documentation tests
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --doc --verbose ${{ matrix.features }}
|
||||
|
||||
check-examples:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue