Test MSRV with --all-features

This commit is contained in:
Graham Esau 2024-08-24 17:27:04 +01:00
parent 0f6daccc0a
commit dc1245bbd8
2 changed files with 2 additions and 6 deletions

View file

@ -14,16 +14,12 @@ jobs:
- nightly
include:
- rust: 1.65.0
test_features: ""
allow_failure: false
- rust: stable
test_features: "--all-features"
allow_failure: false
- rust: beta
test_features: "--all-features"
allow_failure: false
- rust: nightly
test_features: "--all-features"
allow_failure: true
fail-fast: false
steps:
@ -38,7 +34,7 @@ jobs:
continue-on-error: ${{ matrix.allow_failure }}
working-directory: ./schemars
- name: Run tests
run: cargo test --verbose ${{ matrix.test_features }} --no-fail-fast
run: cargo test --verbose --all-features --no-fail-fast
continue-on-error: ${{ matrix.allow_failure }}
working-directory: ./schemars
- name: Run derive tests

View file

@ -1,5 +1,5 @@
mod util;
use std::hash::RandomState;
use std::collections::hash_map::RandomState;
use indexmap2::{IndexMap, IndexSet};
use schemars::JsonSchema;