From 9bf2146db7062bb61c5b938f128fc7704eab6159 Mon Sep 17 00:00:00 2001 From: Chris Pappas Date: Wed, 11 May 2022 16:28:16 -0500 Subject: [PATCH] Update command only run benches, exclude all tests --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 65125ad..f23c3f6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -47,7 +47,7 @@ jobs: - name: Test run: go test -v -coverprofile coverage.out -race ./... - name: Bench - run: go test -v -bench=. + run: go test -v -run ^$ -bench . ./... - uses: jandelgado/gcov2lcov-action@v1.0.5 if: matrix.version == '1.18.1' - name: Store main branch lcov