refactor(body): fix unused sync_wrapper when stream feature disabled (#2287)

This commit is contained in:
Sean McArthur
2020-09-21 13:57:58 -07:00
committed by GitHub
parent aea9c52808
commit 523d66a41f
7 changed files with 46 additions and 4 deletions

View File

@@ -54,10 +54,6 @@ jobs:
- rust: nightly
features: "--features nightly"
benches: true
# Limit the Happy Eyeballs tests to Linux
- rust: stable
os: ubuntu-latest
features: "--features __internal_happy_eyeballs_tests"
runs-on: ${{ matrix.os }}
@@ -85,6 +81,35 @@ jobs:
command: test
args: --benches ${{ matrix.features }}
features:
name: Test Feature ${{ matrix.features }}
needs: [style]
strategy:
matrix:
features:
- "--features __internal_happy_eyeballs_tests"
- "--no-default-features --features tcp"
- "--no-default-features"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: ${{ matrix.features }}
doc:
name: Build docs
needs: [style, test]