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
|
- nightly
|
||||||
include:
|
include:
|
||||||
- rust: 1.65.0
|
- rust: 1.65.0
|
||||||
test_features: ""
|
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
- rust: stable
|
- rust: stable
|
||||||
test_features: "--all-features"
|
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
- rust: beta
|
- rust: beta
|
||||||
test_features: "--all-features"
|
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
test_features: "--all-features"
|
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
|
@ -38,7 +34,7 @@ jobs:
|
||||||
continue-on-error: ${{ matrix.allow_failure }}
|
continue-on-error: ${{ matrix.allow_failure }}
|
||||||
working-directory: ./schemars
|
working-directory: ./schemars
|
||||||
- name: Run tests
|
- 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 }}
|
continue-on-error: ${{ matrix.allow_failure }}
|
||||||
working-directory: ./schemars
|
working-directory: ./schemars
|
||||||
- name: Run derive tests
|
- name: Run derive tests
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
mod util;
|
mod util;
|
||||||
use std::hash::RandomState;
|
use std::collections::hash_map::RandomState;
|
||||||
|
|
||||||
use indexmap2::{IndexMap, IndexSet};
|
use indexmap2::{IndexMap, IndexSet};
|
||||||
use schemars::JsonSchema;
|
use schemars::JsonSchema;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue