Introduce default-members to the workspace root (#1420)

This commit is contained in:
s0me0ne-unkn0wn
2023-09-09 11:35:26 +02:00
committed by GitHub
parent 6b3aa7d23e
commit 9bfb6529d1
5 changed files with 11 additions and 9 deletions
+3 -3
View File
@@ -121,7 +121,7 @@ test-linux-stable-runtime-benchmarks:
# but still want to have debug assertions.
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
script:
- time cargo nextest run --features runtime-benchmarks benchmark --locked --cargo-profile testnet
- time cargo nextest run --workspace --features runtime-benchmarks benchmark --locked --cargo-profile testnet
# these ones can be really slow so it's better to run them separately
test-linux-stable-slow:
@@ -185,7 +185,7 @@ test-doc:
# but still want to have debug assertions.
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
script:
- time cargo test --doc
- time cargo test --doc --workspace
test-rustdoc:
stage: test
@@ -368,7 +368,7 @@ quick-benchmarks:
WASM_BUILD_NO_COLOR: 1
WASM_BUILD_RUSTFLAGS: "-C debug-assertions -D warnings"
script:
- time cargo run --locked --release --features runtime-benchmarks -- benchmark pallet --execution wasm --wasm-execution compiled --chain dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1
- time cargo run --locked --release -p node-cli --bin substrate-node --features runtime-benchmarks -- benchmark pallet --execution wasm --wasm-execution compiled --chain dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1
test-frame-examples-compile-to-wasm:
# into one job