Skip to content

Commit

Permalink
Attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
VioletHynes committed Jun 18, 2024
1 parent f437f38 commit 82010c3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ jobs:
github-token: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
no-restore: true # don't download them on a cache hit

bench:
if: needs.setup.outputs.app-changed == 'true'
name: Bench
needs: setup
uses: ./.github/workflows/hack-week-benchmark.yml
secrets: inherit
with:
checkout-ref: ${{ needs.setup.outputs.checkout-ref }}

test-go:
# Run Go tests if the vault app changed
if: needs.setup.outputs.app-changed == 'true'
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/hack-week-benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: Bench
on: [push, pull_request]

#on: [push, pull_request]

on:
workflow_dispatch:
inputs:
type: string
default: ""

jobs:
test:
name: Bench
Expand All @@ -13,6 +21,8 @@ jobs:

- name: Check out code into the Go module directory
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29@v1
with:
ref: ${{ inputs.checkout-ref }}

- name: Install cob
run: curl -sfL https://raw.githubusercontent.com/knqyf263/cob/master/install.sh | sudo sh -s -- -b /usr/local/bin
Expand Down

0 comments on commit 82010c3

Please sign in to comment.