mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-07 22:28:02 +00:00
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:
committed by
GitHub
parent
9b87134bc6
commit
205ab6dee1
@@ -319,7 +319,7 @@ test-linux-stable: &test-linux
|
||||
script:
|
||||
# this job runs all tests in former runtime-benchmarks, frame-staking and wasmtime tests
|
||||
- time cargo test --workspace --locked --release --verbose --features runtime-benchmarks --manifest-path bin/node/cli/Cargo.toml
|
||||
- time cargo test -p frame-support-test --features=conditional-storage --manifest-path frame/support/test/Cargo.toml # does not reuse cache 1 min 44 sec
|
||||
- time cargo test -p frame-support-test --features=conditional-storage --manifest-path frame/support/test/Cargo.toml --test pallet # does not reuse cache 1 min 44 sec
|
||||
- SUBSTRATE_TEST_TIMEOUT=1 time cargo test -p substrate-test-utils --release --verbose --locked -- --ignored timeout
|
||||
- sccache -s
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user