Add benchmark tests to CI (#243)

* add concurrency settings to the pipeline

add comments

* update message

update locks

---------

Co-authored-by: Gustavo Gonzalez <gustavo.gonzalez@openzeppelin.com>
This commit is contained in:
Nikita Khateev
2024-08-13 15:00:07 +04:00
committed by GitHub
parent 8bbf680c05
commit bac8e41436
5 changed files with 15 additions and 0 deletions
+1
View File
@@ -16,3 +16,4 @@ Fixes #??? <!-- Fill in with issue number -->
- [ ] Tests
- [ ] Documentation
- [ ] Pallets, that require benchmarks, are added to `scripts/assets/pallets.txt` (Pallet require benchmark if it has WeightInfo config type)
+6
View File
@@ -21,6 +21,12 @@ on:
default: false
type: boolean
# If new code is pushed to a PR branch, then cancel in progress workflows for
# that PR. Ensures that we don't waste CI time, and returns results quicker.
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
# Not needed in CI, should make things a bit faster
CARGO_INCREMENTAL: 0
+6
View File
@@ -21,6 +21,12 @@ on:
default: false
type: boolean
# If new code is pushed to a PR branch, then cancel in progress workflows for
# that PR. Ensures that we don't waste CI time, and returns results quicker.
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
# Not needed in CI, should make things a bit faster
CARGO_INCREMENTAL: 0