diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8063d5524..dd879c17f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,7 +29,7 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - name: Run benchmark - run: go test -bench . -benchtime=5s -benchmem ./... | tee output.txt + run: go test -bench=Bench -short -benchtime=5s -benchmem ./... | tee output.txt - name: Store benchmark result uses: benchmark-action/github-action-benchmark@v1 diff --git a/.github/workflows/publish-benchmark.yaml b/.github/workflows/publish-benchmark.yaml index d985190b3..d3b414b08 100644 --- a/.github/workflows/publish-benchmark.yaml +++ b/.github/workflows/publish-benchmark.yaml @@ -20,7 +20,7 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - name: Run benchmark - run: set -o pipefail; go test -bench . -benchtime=5s -benchmem ./... | tee output.txt + run: set -o pipefail; go test -bench=Bench -short -benchtime=5s -benchmem ./... | tee output.txt - name: Store benchmark result uses: benchmark-action/github-action-benchmark@v1 diff --git a/test-harness b/test-harness index b59af3d55..48c56d131 160000 --- a/test-harness +++ b/test-harness @@ -1 +1 @@ -Subproject commit b59af3d554781c35d75433167c6948f62c458953 +Subproject commit 48c56d1314ba89f6d1fdc2c17a8e4ac42e6b1981