Test MSRV with --all-features
This commit is contained in:
parent
0f6daccc0a
commit
dc1245bbd8
2 changed files with 2 additions and 6 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
mod util;
|
||||
use std::hash::RandomState;
|
||||
use std::collections::hash_map::RandomState;
|
||||
|
||||
use indexmap2::{IndexMap, IndexSet};
|
||||
use schemars::JsonSchema;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue