From 1d15d6d81a8fbf885d80c3ec6418f6d49b36e9c6 Mon Sep 17 00:00:00 2001 From: Igor Date: Thu, 10 Oct 2024 11:01:10 -0700 Subject: [PATCH] adding skip move e2e --- .github/workflows/execution-performance.yaml | 1 + .../workflow-run-execution-performance.yaml | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/execution-performance.yaml b/.github/workflows/execution-performance.yaml index 1597d9ecbc8632..f8a9693f55dac4 100644 --- a/.github/workflows/execution-performance.yaml +++ b/.github/workflows/execution-performance.yaml @@ -26,3 +26,4 @@ jobs: 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') }} + SKIP_MOVE_E2E: false diff --git a/.github/workflows/workflow-run-execution-performance.yaml b/.github/workflows/workflow-run-execution-performance.yaml index 484c4e4b10f8b1..18e97524ce38da 100644 --- a/.github/workflows/workflow-run-execution-performance.yaml +++ b/.github/workflows/workflow-run-execution-performance.yaml @@ -17,6 +17,11 @@ on: default: CONTINUOUS type: string description: Which set of tests to run. + SKIP_MOVE_E2E: + required: false + default: false + type: boolean + description: Whether to run or skip move-only e2e tests at the beginning. IGNORE_TARGET_DETERMINATION: required: false default: false @@ -56,6 +61,11 @@ on: - MAINNET_LARGE_DB type: choice description: Which set of tests to run. MAINNET/MAINNET_LARGE_DB are for performance validation of mainnet nodes. + SKIP_MOVE_E2E: + required: false + default: false + type: boolean + description: Whether to skip move-only e2e tests at the beginning. IGNORE_TARGET_DETERMINATION: required: false default: true @@ -98,7 +108,7 @@ jobs: - name: Run single node execution benchmark in performance build mode shell: bash - run: TABULATE_INSTALL=lib-only pip install tabulate && FLOW="${{ inputs.FLOW }}" SOURCE="${{ inputs.SOURCE }}" RUNNER_NAME="${{ inputs.RUNNER_NAME }}" testsuite/single_node_performance.py + run: TABULATE_INSTALL=lib-only pip install tabulate && FLOW="${{ inputs.FLOW }}" SOURCE="${{ inputs.SOURCE }}" RUNNER_NAME="${{ inputs.RUNNER_NAME }}" SKIP_MOVE_E2E="${{ inputs.SKIP_MOVE_E2E && '1' || '' }}" testsuite/single_node_performance.py if: ${{ (inputs.IGNORE_TARGET_DETERMINATION || needs.test-target-determinator.outputs.run_execution_performance_test == 'true') }} - run: echo "Skipping single node execution performance! Unrelated changes detected."