Skip to content

Commit

Permalink
edit benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
artgish committed Apr 16, 2023
1 parent 7be712b commit 0245c5f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deeplake-benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ on:
branches:
- "release/**"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
# concurrency:
# group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
# cancel-in-progress: true

jobs:
remove_label:
Expand All @@ -34,10 +34,11 @@ jobs:

start-ec2:
name: Start benchmarks ec2
if: ( vars.BENCHMARKS_DEFAULT_RUNNERS_TYPE == 'self-hosted-ec2' ) && ( github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.label.name == 'run-benchmarks') )
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.label.name == 'run-benchmarks')
runs-on: ubuntu-latest
steps:
- name: checkout
if: vars.BENCHMARKS_DEFAULT_RUNNERS_TYPE == 'self-hosted-ec2'
uses: actions/checkout@v3
with:
repository: ${{ secrets.BENCHMARKS_REPO }}
Expand Down Expand Up @@ -75,7 +76,7 @@ jobs:
benchmark:
name: Run Benchmarks
needs: start-ec2
if: always() && (needs.start-ec2.result == 'skipped' || needs.start-ec2.result == 'success') && ( github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.label.name == 'run-benchmarks'))
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.label.name == 'run-benchmarks')
runs-on: benchmarks_${{ matrix.machine }}
timeout-minutes: 720
strategy:
Expand Down

0 comments on commit 0245c5f

Please sign in to comment.