mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 00:11:01 +00:00
Run all benchmarks "as tests" in short setup on every PR (#2846)
* Run all benchmarks "as tests" in short setup on every PR * Fix * Update scripts/ci/gitlab/pipeline/short-benchmarks.yml Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> * Updated TODO * Removed `--execution wasm` * [asset-conv] Unused Balances type * [asset-conv] native asset change * Dedicated `AssetBalance` type for `pallet_assets` instances * Improved local vs foreign asset handling + test for not allowing pool_assets in pool * Removed `into_multiasset_id` * Fix * Refactor * Fixed create_pool for benchmark with LocalAndForeignAssets (finally found it) * Revert * fmt * Migrates pools with `MultiLocation { parents: 0, interior: Here }` to `MultiLocation { parents: 1, interior: Here }` * Allow `set_storage` for `AllowMultiAssetPools` / `LiquidityWithdrawalFee` * Benchmarks work * Removed comment + more defensive migration * `T::Currency::transfer` -> `Balances::transfer_all` in migration * Change pool_id in migration --------- Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -121,3 +121,18 @@ build-runtime-testing:
|
||||
needs:
|
||||
- job: build-runtime-starters
|
||||
artifacts: false
|
||||
|
||||
build-short-benchmark:
|
||||
stage: build
|
||||
extends:
|
||||
- .docker-env
|
||||
- .common-refs
|
||||
- .collect-artifacts
|
||||
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
|
||||
needs:
|
||||
- job: check-rustdoc
|
||||
artifacts: false
|
||||
script:
|
||||
- cargo build --profile release --locked --features=runtime-benchmarks
|
||||
- mkdir -p ./artifacts
|
||||
- cp ./target/release/polkadot-parachain ./artifacts/
|
||||
|
||||
Reference in New Issue
Block a user