Skip to content

Commit

Permalink
fix github benchmark on push
Browse files Browse the repository at this point in the history
  • Loading branch information
metalim committed Sep 2, 2023
1 parent 19e2a40 commit 81fd8d4
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/gotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,17 @@ jobs:
go-version: "1.20"

- name: Test
run: go test -v ./...
run: go test -v ./test/

bench:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20"

- name: Benchmark
run: go test -v -bench . -benchmem
run: go test ./test/ -bench . -benchmem

0 comments on commit 81fd8d4

Please sign in to comment.