From e3da34120d027bd05637a18f652f2be3207ea86a Mon Sep 17 00:00:00 2001 From: jerrykingxyz Date: Tue, 2 Jan 2024 17:31:31 +0800 Subject: [PATCH] chore: remove bench_rspack_merge_queue.yml --- .github/workflows/bench_rspack_commit.yml | 1 + .../workflows/bench_rspack_merge_queue.yml | 32 ------------------- 2 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 .github/workflows/bench_rspack_merge_queue.yml diff --git a/.github/workflows/bench_rspack_commit.yml b/.github/workflows/bench_rspack_commit.yml index 896b20d4..2f5169bd 100644 --- a/.github/workflows/bench_rspack_commit.yml +++ b/.github/workflows/bench_rspack_commit.yml @@ -37,6 +37,7 @@ jobs: create-comment: runs-on: ubuntu-latest needs: [run-bench] + if: always() steps: - id: create-comment uses: actions/github-script@v6 diff --git a/.github/workflows/bench_rspack_merge_queue.yml b/.github/workflows/bench_rspack_merge_queue.yml deleted file mode 100644 index 88d272a8..00000000 --- a/.github/workflows/bench_rspack_merge_queue.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Bench Rspack Merge Queue - -on: - workflow_dispatch: - inputs: - rspack_ref: - description: "The fully-formed ref of the branch or tag. eg. refs/heads/" - required: true - type: string - -jobs: - run-bench: - runs-on: [self-hosted, rspack-bench] - timeout-minutes: 30 - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Init env - uses: ./.github/actions/env - - name: Build rspack - run: node bin/build-rspack.js origin ${{ inputs.rspack_ref }} - - name: Run benchmark - run: node bin/bench.js - - id: print-results - name: Print results - run: | - result=$(node bin/compare-bench.js latest current) - echo "$result" - if [[ $result =~ "Threshold exceeded" ]]; then - echo "Some benchmark cases exceed the threshold, please visit the previous step for more information" - exit 1 - fi