ci: fix http feature name

This commit is contained in:
Kade Robertson
2023-02-13 16:53:31 -05:00
committed by Martin Algesten
parent 06db500ec4
commit f077a4012c
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ jobs:
- native-certs - native-certs
- gzip - gzip
- brotli - brotli
- http - http-interop
env: env:
RUST_BACKTRACE: "1" RUST_BACKTRACE: "1"
RUSTFLAGS: "-D dead_code -D unused-variables -D unused" RUSTFLAGS: "-D dead_code -D unused-variables -D unused"

View File

@@ -4,7 +4,7 @@ set -eu
export RUST_BACKTRACE=1 export RUST_BACKTRACE=1
export RUSTFLAGS="-D dead_code -D unused-variables -D unused" export RUSTFLAGS="-D dead_code -D unused-variables -D unused"
for feature in "" tls json charset cookies socks-proxy "tls native-certs" native-tls gzip brotli http; do for feature in "" tls json charset cookies socks-proxy "tls native-certs" native-tls gzip brotli http-interop; do
if ! cargo test --no-default-features --features "${feature}" ; then if ! cargo test --no-default-features --features "${feature}" ; then
echo Command failed: cargo test --no-default-features --features \"${feature}\" echo Command failed: cargo test --no-default-features --features \"${feature}\"
exit 1 exit 1