From a986a00064d8a4cd815d4e792751876928d46b2e Mon Sep 17 00:00:00 2001 From: Gwo Tzu-Hsing Date: Wed, 1 Jan 2025 01:46:11 +0800 Subject: [PATCH] chore: temporarily disable benchmark --- .github/workflows/ci.yml | 56 ++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5573b0..6321e94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,34 +86,34 @@ jobs: command: run args: --example declare --features bytes,tokio - benchmark: - name: Rust benchmark - runs-on: self-hosted - permissions: - contents: write - pull-requests: write - repository-projects: write - if: github.event_name == 'pull_request' - steps: - - uses: actions/checkout@v4 - - name: Install latest nightly - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true + # benchmark: + # name: Rust benchmark + # runs-on: self-hosted + # permissions: + # contents: write + # pull-requests: write + # repository-projects: write + # if: github.event_name == 'pull_request' + # steps: + # - uses: actions/checkout@v4 + # - name: Install latest nightly + # uses: actions-rs/toolchain@v1 + # with: + # toolchain: stable + # override: true - # `cargo check` command here will use installed `nightly` - # as it is set as an "override" for current directory + # # `cargo check` command here will use installed `nightly` + # # as it is set as an "override" for current directory - - name: Run cargo bench - uses: actions-rs/cargo@v1 - with: - command: bench - args: --features bench + # - name: Run cargo bench + # uses: actions-rs/cargo@v1 + # with: + # command: bench + # args: --features bench - - name: Comment on PR using GitHub CLI - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - gh pr comment ${{ github.event.pull_request.number }} --body-file "read_benchmark.md" - gh pr comment ${{ github.event.pull_request.number }} --body-file "write_benchmark.md" + # - name: Comment on PR using GitHub CLI + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # run: | + # gh pr comment ${{ github.event.pull_request.number }} --body-file "read_benchmark.md" + # gh pr comment ${{ github.event.pull_request.number }} --body-file "write_benchmark.md"