mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-07 14:18:03 +00:00
[ci] benchmarks: suppress wrong exit code (#5344)
* [ci] benchmarks: suppress wrong exit code The script uses '!' to prevent set -e failures, however a $? of `0` becomes exit code 1 if it is the last command ran. This `true` makes sure that $? is 0 when we reach the end, instead of carrying over a failure which would otherwise cause the whole CI job to abort. * add explanation comment
This commit is contained in:
@@ -46,3 +46,9 @@ rm "${runtime}_pallets"
|
||||
--weight-path="runtime/${runtime}/constants/src/weights/" \
|
||||
--warmup=10 \
|
||||
--repeat=100
|
||||
|
||||
|
||||
# This true makes sure that $? is 0 instead of
|
||||
# carrying over a failure which would otherwise cause
|
||||
# the whole CI job to abort.
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user