From c45e77eeaa7858654d8cae06984be9eeab2301b8 Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Sun, 10 Jan 2021 15:04:21 +0900 Subject: [PATCH] Ignore coverage test on windows --- .github/workflows/go.yml | 1 - coverage_test.go | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 53f924d..73eeb0d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -22,7 +22,6 @@ jobs: env: GOGC: 1 - name: test with race detector - if: ${{ matrix.os != 'windows-latest' }} run: go test -v -race ./ -count=1 coverage: name: Coverage diff --git a/coverage_test.go b/coverage_test.go index e47fd83..5ce7d46 100644 --- a/coverage_test.go +++ b/coverage_test.go @@ -1,3 +1,5 @@ +// +build !windows + package json import (