mirror of https://github.com/fafhrd91/actix-web
try to fix doc test failures
This commit is contained in:
parent
7535a1ade8
commit
de04823166
|
@ -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: >
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue