summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Scott <sam@osohq.com>2022-04-29 11:10:22 -0500
committerGitHub <noreply@github.com>2022-04-29 12:10:22 -0400
commit3ddcd171ea66efa94821533299f48788a18fb33a (patch)
tree1d2d75a6c324e13f4f06e0f2d7a6db02a569774c
parentaaad564074864ad463e369af7f98655b01565143 (diff)
Run features in parallel in CI (#60)
-rw-r--r--.github/workflows/ci.yml33
-rw-r--r--Cargo.toml2
2 files changed, 11 insertions, 24 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 960e342..5a478db 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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
@@ -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 }}"
diff --git a/Cargo.toml b/Cargo.toml
index 5f4336d..00d70ef 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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]