Test features individually
This commit is contained in:
1 parent
da42f2ed8f
commit
1264213ca6
1 file changed
+7
-1
@@ -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 }}
|
||||||
Reference in new issue
Block a user