From 908c002d58a6c44609f529583b3fbd3e5f4bb216 Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Fri, 30 Apr 2021 11:55:23 +0300 Subject: [PATCH] Debug CI --- testifycheck/testifycheck_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/testifycheck/testifycheck_test.go b/testifycheck/testifycheck_test.go index 6abb9ac..c1e3b71 100644 --- a/testifycheck/testifycheck_test.go +++ b/testifycheck/testifycheck_test.go @@ -1,12 +1,19 @@ package testifycheck import ( + "os" + "os/exec" "testing" "golang.org/x/tools/go/analysis/analysistest" ) func Test(t *testing.T) { + debugOut, err := exec.Command("go", "env", "GOROOT").CombinedOutput() + if err != nil { + _, _ = os.Stderr.Write(debugOut) + } + testdata := analysistest.TestData() analysistest.Run(t, testdata, Analyzer, "tests/...") }