ci: simplify test command by removing feature matrix
This commit is contained in:
@@ -42,11 +42,6 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
features:
|
|
||||||
- ""
|
|
||||||
- "async"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
@@ -55,12 +50,7 @@ jobs:
|
|||||||
rustup update stable
|
rustup update stable
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: cargo test --verbose --all-features --all-targets
|
||||||
if [ -z "${{ matrix.features }}" ]; then
|
|
||||||
cargo test --verbose
|
|
||||||
else
|
|
||||||
cargo test --verbose --features "${{ matrix.features }}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
name: Examples
|
name: Examples
|
||||||
|
|||||||
Reference in New Issue
Block a user