From d222d26c1497297e7acbd9ebb4396853e4bdd45b Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Tue, 9 Apr 2024 18:48:10 -0400 Subject: [PATCH] ci: test/lint w/ more features * adds coverage for --all-features * adds coverage for --no-default-features --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d696c68..59b0f60 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -33,6 +33,8 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: cargo test + - run: cargo test --all-features + - run: cargo test --no-default-features fmt: name: Rustfmt @@ -53,6 +55,8 @@ jobs: with: components: clippy - run: cargo clippy -- -D warnings + - run: cargo clippy --all-features -- -D warnings + - run: cargo clippy --no-default-features -- -D warnings doc: name: Build documentation