From 9d540881de4e1a80751f5799806ed2fbbfa954fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Sun, 5 May 2024 09:49:54 +0200 Subject: [PATCH] Run tests without any features enabled (#297) - [x] Does not require a CHANGELOG entry --- .github/workflows/test.yml | 2 +- system-parachains/coretime/coretime-kusama/src/migrations.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8603f84553..a2a1a53d8a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -84,7 +84,7 @@ jobs: shared-key: "fellowship-cache-tests" - name: Test ${{ matrix.runtime.name }} - run: cargo test -p ${{ matrix.runtime.package }} --release --locked -q --features=try-runtime + run: cargo test -p ${{ matrix.runtime.package }} --release --locked -q env: RUSTFLAGS: "-C debug-assertions -D warnings" diff --git a/system-parachains/coretime/coretime-kusama/src/migrations.rs b/system-parachains/coretime/coretime-kusama/src/migrations.rs index 68cf0ecec6..5caa111580 100644 --- a/system-parachains/coretime/coretime-kusama/src/migrations.rs +++ b/system-parachains/coretime/coretime-kusama/src/migrations.rs @@ -31,7 +31,6 @@ pub mod bootstrapping { }; #[cfg(feature = "try-runtime")] use sp_runtime::TryRuntimeError; - #[cfg(feature = "try-runtime")] use sp_std::vec::Vec; /// The log target.