fix(ci): run benchmarks only in PRs (#173)

This commit is contained in:
Aaryamann Challani 2023-05-30 12:22:06 +05:30 committed by GitHub
parent 75d760c179
commit 9dc92ec1ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,8 @@ jobs:
# Currently not treating warnings as error, too noisy
# -- -D warnings
benchmark:
# run only in pull requests
if: github.event_name == 'pull_request'
strategy:
matrix:
# we run benchmark tests only on ubuntu