Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kammoh committed Oct 1, 2023
1 parent 502c542 commit 69a8bdf
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ jobs:
target: ${{ matrix.target }}
toolchain: ${{ matrix.toolchain }}
override: true
- name: Install cargo-msrv
run: cargo install cargo-msrv
- name: Install dependencies (if necessary)
run: ${{ matrix.deps }}
- name: Minimal versions (if necessary)
Expand All @@ -57,8 +55,6 @@ jobs:
cargo test --target ${{ matrix.target }} --tests --no-default-features
# all stable features:
cargo test --target ${{ matrix.target }} --features=std,serde1,rayon
- name: Verify MSRV
run: cargo msrv verify
test-no-std:
runs-on: ubuntu-latest
strategy:
Expand All @@ -78,3 +74,18 @@ jobs:
cargo build --target=thumbv6m-none-eabi
cargo build --target=thumbv6m-none-eabi --features serde1
cargo build --target=thumbv6m-none-eabi --no-default-features --features serde1
verify-msrv:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Install cargo-msrv
run: cargo install cargo-msrv
- name: Verify MSRV
run: cargo msrv verify

0 comments on commit 69a8bdf

Please sign in to comment.