run benchmarks conditionally, on main or if run_benchmarks label is set

This commit is contained in:
Dmitry Rodionov
2022-08-01 17:57:46 +03:00
committed by Dmitry Rodionov
parent 71f39bac3d
commit b4f2c5b514

View File

@@ -218,6 +218,7 @@ jobs:
runs-on: dev
container: 369495373322.dkr.ecr.eu-central-1.amazonaws.com/rustlegacy:2746987948
needs: [ build-neon ]
if: github.ref_name == 'main' || contains(github.event.pull_request.labels.*.name, 'run-benchmarks')
strategy:
fail-fast: false
matrix: