From f36c1403152a0d0ed93d82f35f20b2bc36a16377 Mon Sep 17 00:00:00 2001 From: Martin Algesten Date: Sat, 26 Nov 2022 11:24:11 +0100 Subject: [PATCH] Add gzip and brotli to CI test matrix --- .github/workflows/test.yml | 2 ++ test.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b6f42a4..139f29f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,6 +56,8 @@ jobs: - cookies - socks-proxy - native-certs + - gzip + - brotli env: RUST_BACKTRACE: "1" RUSTFLAGS: "-D dead_code -D unused-variables -D unused" diff --git a/test.sh b/test.sh index f40a71c..48dbb03 100755 --- a/test.sh +++ b/test.sh @@ -4,7 +4,7 @@ set -eu export RUST_BACKTRACE=1 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 echo Command failed: cargo test --no-default-features --features \"${feature}\" exit 1