[CI] Fix listing pallets for benchmarks jobs (#3570)

* fix listing pallets for benchmarks

* fix indent
This commit is contained in:
Martin Pugh
2021-08-04 15:29:11 +02:00
committed by GitHub
parent 1718ed1dcc
commit 6e5a572c0b
+3 -6
View File
@@ -12,12 +12,9 @@ echo "[+] Running all benchmarks for $runtime"
# shellcheck disable=SC2086
cargo +nightly run $standard_args benchmark \
--chain "${runtime}-dev" \
--execution=wasm \
--wasm-execution=compiled \
--pallet "*" \
--extrinsic "*" \
--repeat 0 | \
sed -r -e 's/Pallet: "([a-z_:]+)".*/\1/' | \
--list |\
tail -n+2 |\
cut -d',' -f1 |\
uniq | \
grep -v frame_system > "${runtime}_pallets"