Skip to content

Commit

Permalink
build and test each crate separately
Browse files Browse the repository at this point in the history
  • Loading branch information
conradoplg committed Jun 19, 2024
1 parent 647da35 commit 7adba5d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,20 @@ jobs:
- uses: dtolnay/[email protected]
- run: cargo build --all-features

build_all_features:
name: build with all features combinations
test_all_features:
name: test all features combinations
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]
- uses: dtolnay/rust-toolchain@stable
- run: cargo install cargo-all-features
- run: cargo build-all-features
# We check and then test because some test dependencies could help
# a bugged build work, while a regular build would fail.
- run: cargo check-all-features
# Note that this also tests each crate separately, which also helps
# catching some issues.
- run: cargo test-all-features

test_beta:
name: test on beta
Expand Down

0 comments on commit 7adba5d

Please sign in to comment.