Add gzip and brotli to CI test matrix

This commit is contained in:
Martin Algesten
2022-11-26 11:24:11 +01:00
parent 8e8b1abd53
commit f36c140315
2 changed files with 3 additions and 1 deletions

View File

@@ -56,6 +56,8 @@ jobs:
- cookies - cookies
- socks-proxy - socks-proxy
- native-certs - native-certs
- gzip
- brotli
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; do for feature in "" tls json charset cookies socks-proxy "tls native-certs" native-tls gzip brotli; 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