try to fix doc test failures

This commit is contained in:
Rob Ede 2021-06-23 18:31:01 +01:00
parent 7535a1ade8
commit de04823166
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 6 additions and 14 deletions

View File

@ -80,29 +80,21 @@ jobs:
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: check command: check
args: --workspace --bins --examples --tests args: --workspace --all-features --bins --examples --tests
- name: tests - name: tests
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
timeout-minutes: 40
with: with:
command: test command: test
args: --workspace --all-features --no-fail-fast -- --nocapture args: --workspace --all-features --no-fail-fast --lib --tests -- --nocapture
--skip=test_h2_content_length
--skip=test_reading_deflate_encoding_large_random_rustls
- name: tests (actix-http) - name: doc tests
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
timeout-minutes: 40 timeout-minutes: 40
with: with:
command: test command: test
args: --package=actix-http --no-default-features --features=rustls -- --nocapture args: --workspace --all-features --no-fail-fast --doc -- --nocapture
- name: tests (awc)
uses: actions-rs/cargo@v1
timeout-minutes: 40
with:
command: test
args: --package=awc --no-default-features --features=rustls -- --nocapture
- name: Generate coverage file - name: Generate coverage file
if: > if: >

View File

@ -36,4 +36,4 @@ jobs:
uses: actions-rs/clippy-check@v1 uses: actions-rs/clippy-check@v1
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
args: --workspace --tests --all-features args: --workspace --all-features --tests