diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6887ed30..4e9e236d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -52,7 +52,12 @@ jobs: - name: Build run: go build -v ./... + - name: Test + if: matrix.os != 'macos-latest' + run: go test -v ./... + - name: Test with coverage + if: matrix.os == 'macos-latest' run: go test -v -coverprofile="coverage.txt" -covermode=atomic ./... - name: Install