execution-performance #2244
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "execution-performance" | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [labeled, opened, synchronize, reopened, auto_merge_enabled] | |
schedule: | |
- cron: "0 */4 * * *" # This runs every four hours | |
jobs: | |
execution-performance: | |
if: | # Only run on each PR once an appropriate event occurs | |
( | |
github.event_name == 'workflow_dispatch' || | |
github.event_name == 'schedule' || | |
contains(github.event.pull_request.labels.*.name, 'CICD:run-e2e-tests') || | |
github.event.pull_request.auto_merge != null) || | |
contains(github.event.pull_request.body, '#e2e' | |
) | |
uses: ./.github/workflows/workflow-run-execution-performance.yaml | |
secrets: inherit | |
with: | |
GIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} | |
RUNNER_NAME: executor-benchmark-runner | |
RUN_ONLY_SINGLE_NODE_PERF: ${{ github.event_name != 'schedule' }} # Run all tests on the scheduled cadence |