Skip to content

Commit

Permalink
Include features in testing matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
akubera committed Aug 26, 2021
1 parent e7bff2d commit b9cfdc2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .circleci/config.yml
Expand Up @@ -11,6 +11,9 @@ jobs:
debian-version:
type: string
default: "buster"
rust-features:
type: string
default: "''"
docker:
- image: rust:<< parameters.rust-version >>-<< parameters.debian-version >>
environment:
Expand All @@ -36,7 +39,7 @@ jobs:
command: cargo build
- run:
name: Test
command: cargo test
command: cargo test --features=<< parameters.rust-features >>

upload-coverage:
parameters:
Expand Down Expand Up @@ -91,6 +94,15 @@ workflows:
- "1.40.0"
- "1.50.0"
- "1.54.0"
- build-and-test:
matrix:
parameters:
rust-version:
- "1.50.0"
- "1.54.0"
rust-features:
- "'serde'"
- "'serde,string-only'"
- upload-coverage:
rust-version: "1.54.0"
requires:
Expand Down

0 comments on commit b9cfdc2

Please sign in to comment.