Test features individually

This commit is contained in:
Tom Forbes
2019-10-20 17:46:09 +01:00
committed by Martin Algesten
parent da42f2ed8f
commit 1264213ca6

View File

@@ -6,6 +6,12 @@ jobs:
build_and_test: build_and_test:
name: Rust project name: Rust project
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
feature:
- charset
- tls
- cookies
env: env:
RUST_BACKTRACE: "1" RUST_BACKTRACE: "1"
steps: steps:
@@ -19,4 +25,4 @@ jobs:
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: test command: test
args: --all-features args: --features json ${{ matrix.feature }}