Skip to content

Commit

Permalink
chore(ci): skip fork repo add env
Browse files Browse the repository at this point in the history
  • Loading branch information
dqhl76 committed Nov 4, 2024
1 parent c7e85eb commit 37f7bca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ concurrency:
jobs:
benchmark:
runs-on: ubuntu-latest
if: github.event_name == 'push' || !github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- name: Setup Rust toolchain
Expand All @@ -62,6 +63,8 @@ jobs:
- name: Build the benchmark targets
working-directory: core
run: cargo codspeed build --features tests
env:
OPENDAL_TEST: memory
- name: Run the benchmarks
uses: CodSpeedHQ/action@v3
with:
Expand Down

0 comments on commit 37f7bca

Please sign in to comment.