refactor(body): fix unused sync_wrapper when stream feature disabled (#2287)
This commit is contained in:
33
.github/workflows/CI.yml
vendored
33
.github/workflows/CI.yml
vendored
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user