From 1264213ca662c06e4283f70af70f6a8eabd37740 Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Sun, 20 Oct 2019 17:46:09 +0100 Subject: [PATCH] Test features individually --- .github/workflows/test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8b77e36..823065d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,12 @@ jobs: build_and_test: name: Rust project runs-on: ubuntu-latest + strategy: + matrix: + feature: + - charset + - tls + - cookies env: RUST_BACKTRACE: "1" steps: @@ -19,4 +25,4 @@ jobs: uses: actions-rs/cargo@v1 with: command: test - args: --all-features + args: --features json ${{ matrix.feature }}