Don't build examples when testing on CI

Former-commit-id: 77d1c4524d
This commit is contained in:
Maybe Waffle 2022-07-03 14:38:14 +04:00
parent 21cd47dcfd
commit 82ff78b5f6

View file

@ -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