From 00c73b8388a2720e571462537703dc7c394b4cc6 Mon Sep 17 00:00:00 2001 From: xushiwei Date: Sat, 15 Jun 2024 18:28:39 +0800 Subject: [PATCH] ci --- .github/workflows/go.yml | 5 +++++ 1 file changed, 5 insertions(+) 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