diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e1e43fa..9e712b80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,7 +72,9 @@ jobs: - name: Install minimal dependencies versions run: cargo +nightly update -Z minimal-versions - - run: cargo check --workspace --features full + - run: cargo test --workspace --features full,testing-helpers + -- --skip compile_fail + RUSTFLAGS: --cfg msrv no_std: runs-on: ubuntu-latest diff --git a/tests/try_from.rs b/tests/try_from.rs index a44cdd07..25e5a8b9 100644 --- a/tests/try_from.rs +++ b/tests/try_from.rs @@ -56,6 +56,7 @@ fn enum_with_complex_repr() { assert!(Enum::try_from(-1).is_err()); } +#[cfg(not(msrv))] // TODO: Remove once MSRV bumps 1.66 or higher. #[test] fn test_discriminants_on_enum_with_fields() { #[derive(TryFrom, Clone, Copy, Debug, Eq, PartialEq)]