Skip to content

Commit

Permalink
always
Browse files Browse the repository at this point in the history
  • Loading branch information
VioletHynes committed Jun 18, 2024
1 parent f9e983e commit f0a434b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ jobs:
no-restore: true # don't download them on a cache hit

bench:
if: needs.setup.outputs.app-changed == 'true'
if: always()
name: Bench
needs: setup
needs:
- setup
- artifacts
uses: ./.github/workflows/hack-week-benchmark.yml
secrets: inherit
with:
Expand Down Expand Up @@ -231,7 +233,6 @@ jobs:
- test-go-race
- test-go-fips
- test-ui
- bench
if: always()
runs-on: ${{ github.repository == 'hashicorp/vault' && 'ubuntu-latest' || fromJSON('["self-hosted","linux","small"]') }}
permissions: write-all # Ensure we have id-token:write access for vault-auth.
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/hack-week-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
default: ""

jobs:
test:
bench:
name: Bench
runs-on: ubuntu-latest
steps:
Expand All @@ -26,6 +26,7 @@ jobs:
ref: ${{ inputs.checkout-ref }}

- name: Install cob
# I know this isn't great, but it's hack week
run: curl -sfL https://raw.githubusercontent.com/knqyf263/cob/master/install.sh | sudo sh -s -- -b /usr/local/bin

- name: Run Benchmark
Expand Down

0 comments on commit f0a434b

Please sign in to comment.