Skip to content

Commit

Permalink
Make the CI jobs test all feature combinations (#32)
Browse files Browse the repository at this point in the history
* Add a CI job that checks and tests all feature combinations

* Make the already existing jobs use it

* Fix formatting of command
  • Loading branch information
JSorngard authored Nov 29, 2024
1 parent 60bb3f2 commit 3e45040
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: check
run: cargo check --all-features --verbose
run: cargo install cargo-all-features && cargo check-all-features

clippy:
runs-on: ubuntu-latest
Expand All @@ -41,9 +41,8 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: test
run: cargo test --no-default-features -F libm && cargo test --no-default-features -F std && cargo test --no-default-features -F libm,std
#run: cargo install cargo-all-features && cargo test-all-features

run: cargo install cargo-all-features && cargo test-all-features

doc:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -84,4 +83,4 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true
fail_ci_if_error: true

0 comments on commit 3e45040

Please sign in to comment.