Test features individually
This commit is contained in:
committed by
Martin Algesten
parent
da42f2ed8f
commit
1264213ca6
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@@ -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