Skip to content

Commit

Permalink
Run tests by hand instead of cargo-all-features
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola committed Jan 12, 2025
1 parent 1f1b51c commit 7444499
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,23 @@ jobs:
container:
image: ${{ matrix.container_image }}
steps:
- name: Install rustfmt
run: rustup component add rustfmt
- name: Checkout repository
uses: actions/checkout@v3
- run: cargo install cargo-all-features
- run: cargo build-all-features
- run: cargo test-all-features
- name: Check formatting
run: cargo fmt --check
- name: Build (--no-default-features)
run: cargo build --no-default-features
- name: Test (--no-default-features)
run: cargo test --no-default-features
- name: Build (default features)
run: cargo build
- name: Test (default features)
run: cargo test
- name: Build (--all-features)
run: cargo build --all-features
- name: Test (--all-features)
run: cargo test --all-features
- name: Clippy
run: cargo clippy --all-features --all-targets

0 comments on commit 7444499

Please sign in to comment.