try to fix doc test

This commit is contained in:
fakeshadow 2021-11-07 22:57:07 +08:00
parent 172a87c868
commit bf2b25ac98
1 changed files with 6 additions and 0 deletions

View File

@ -203,6 +203,12 @@ jobs:
args: cargo-hack
- name: doc tests
if: matrix.target.os != "ubuntu-latest"
uses: actions-rs/cargo@v1
timeout-minutes: 40
with: { command: ci-doctest }
- name: doc tests io-uring
if: matrix.target.os == 'ubuntu-latest'
run: |
sudo bash -c "ulimit -Sl 512 && ulimit -Hl 512 && PATH=$PATH:/usr/share/rust/.cargo/bin && RUSTUP_TOOLCHAIN=${{ matrix.version }} cargo ci-test && RUSTUP_TOOLCHAIN=${{ matrix.version }} cargo ci-test-rt-linux && RUSTUP_TOOLCHAIN=${{ matrix.version }} cargo ci-docktest"