Skip to content

Commit

Permalink
Run features in parallel in CI (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
samscott89 committed Apr 29, 2022
1 parent aaad564 commit 3ddcd17
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 24 deletions.
33 changes: 10 additions & 23 deletions .github/workflows/ci.yml
Expand Up @@ -39,6 +39,13 @@ jobs:
rust:
- stable
- 1.36.0
feature:
- ""
- actix4
- actix3
- actix2
- warp
- axum
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
Expand All @@ -53,27 +60,7 @@ jobs:
with:
profile: minimal
toolchain: stable
- name: Run test actix4
- name: Run test ${{ matrix.feature }}
run: |
cargo test --all-targets --features actix4
cargo test --doc --features actix4
- name: Run test actix3
run: |
cargo test --all-targets --features actix3
cargo test --doc --features actix3
- name: Run test actix2
run: |
cargo test --all-targets --features actix2
cargo test --doc --features actix2
- name: Run test warp
run: |
cargo test --all-targets --features warp
cargo test --doc --features warp
- name: Run test axum
run: |
cargo test --all-targets --features axum
cargo test --doc --features axum
- name: Run test no feature
run: |
cargo test --all-targets
cargo test --doc
cargo test --all-targets --features "${{ matrix.feature }}"
cargo test --doc --features "${{ matrix.feature }}"
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -9,7 +9,7 @@ license = "MIT/Apache-2.0"
name = "serde_qs"
repository = "https://github.com/samscott89/serde_qs"
readme = "README.md"
version = "0.9.1"
version = "0.9.2"
rust-version = "1.36"

[dependencies]
Expand Down

0 comments on commit 3ddcd17

Please sign in to comment.