From de0482316690cb89e2257382497457748bd0c8c0 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Wed, 23 Jun 2021 18:31:01 +0100 Subject: [PATCH] try to fix doc test failures --- .github/workflows/ci.yml | 18 +++++------------- .github/workflows/clippy-fmt.yml | 2 +- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c57db463a..3f632eae1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,29 +80,21 @@ jobs: uses: actions-rs/cargo@v1 with: command: check - args: --workspace --bins --examples --tests + args: --workspace --all-features --bins --examples --tests - name: tests uses: actions-rs/cargo@v1 + timeout-minutes: 40 with: command: test - args: --workspace --all-features --no-fail-fast -- --nocapture - --skip=test_h2_content_length - --skip=test_reading_deflate_encoding_large_random_rustls + args: --workspace --all-features --no-fail-fast --lib --tests -- --nocapture - - name: tests (actix-http) + - name: doc tests uses: actions-rs/cargo@v1 timeout-minutes: 40 with: command: test - args: --package=actix-http --no-default-features --features=rustls -- --nocapture - - - name: tests (awc) - uses: actions-rs/cargo@v1 - timeout-minutes: 40 - with: - command: test - args: --package=awc --no-default-features --features=rustls -- --nocapture + args: --workspace --all-features --no-fail-fast --doc -- --nocapture - name: Generate coverage file if: > diff --git a/.github/workflows/clippy-fmt.yml b/.github/workflows/clippy-fmt.yml index e966fa4ab..957256d32 100644 --- a/.github/workflows/clippy-fmt.yml +++ b/.github/workflows/clippy-fmt.yml @@ -36,4 +36,4 @@ jobs: uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - args: --workspace --tests --all-features + args: --workspace --all-features --tests