Avoid running some test 2 times when unneeded (#9124)

* avoid running some test 2 times when unneeded

* Update frame/support/test/Cargo.toml
This commit is contained in:
Guillaume Thiolliere
2021-06-16 18:19:09 +02:00
committed by GitHub
parent 9b87134bc6
commit 205ab6dee1
3 changed files with 3 additions and 2 deletions
+2
View File
@@ -40,4 +40,6 @@ std = [
"sp-state-machine",
]
try-runtime = ["frame-support/try-runtime"]
# WARNING: CI only execute pallet test with this feature,
# if the feature intended to be used outside, CI and this message need to be updated.
conditional-storage = []
@@ -16,7 +16,6 @@
// limitations under the License.
#[rustversion::attr(not(stable), ignore)]
#[cfg(not(feature = "conditional-storage"))]
#[test]
fn pallet_ui() {
// As trybuild is using `cargo check`, we don't need the real WASM binaries.