Skip to content

Commit

Permalink
gha: build: don't bench clouds on workflow_dispatch by default
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop authored Dec 6, 2023
1 parent 18fc793 commit 76a8018
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ on:
required: false
default: ""
type: string
clouds:
description: "Run s3/gs/azure benchmarks"
required: false
default: false
type: boolean

env:
DVC_TEST: "true"
Expand Down Expand Up @@ -99,6 +104,7 @@ jobs:
path: .benchmarks

gen_s3:
if: ${{ github.event_name == 'schedule' || github.event.inputs.clouds == 'true' }}
runs-on: ubuntu-latest
outputs:
tests: ${{ steps.tests.outputs.tests }}
Expand Down Expand Up @@ -159,6 +165,7 @@ jobs:
path: .benchmarks

gen_azure:
if: ${{ github.event_name == 'schedule' || github.event.inputs.clouds == 'true' }}
runs-on: ubuntu-latest
outputs:
tests: ${{ steps.tests.outputs.tests }}
Expand Down Expand Up @@ -228,6 +235,7 @@ jobs:
path: .benchmarks

gen_gs:
if: ${{ github.event_name == 'schedule' || github.event.inputs.clouds == 'true' }}
runs-on: ubuntu-latest
outputs:
tests: ${{ steps.tests.outputs.tests }}
Expand Down

0 comments on commit 76a8018

Please sign in to comment.