execution-performance #42368
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') || | |
contains(github.event.pull_request.labels.*.name, 'CICD:run-execution-performance-test') || | |
contains(github.event.pull_request.labels.*.name, 'CICD:run-execution-performance-full-test') || | |
github.event.pull_request.auto_merge != null | |
) | |
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 all tests only on the scheduled cadence, or explicitly requested | |
FLOW: ${{ (github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'CICD:run-execution-performance-full-test')) && 'CONTINUOUS' || 'LAND_BLOCKING' }} | |
# Ignore target determination if on the scheduled cadence, or explicitly requested | |
IGNORE_TARGET_DETERMINATION: ${{ github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'CICD:run-execution-performance-test') || contains(github.event.pull_request.labels.*.name, 'CICD:run-execution-performance-full-test') }} |