Debug CI
This commit is contained in:
parent
aafd0ec42c
commit
908c002d58
1 changed files with 7 additions and 0 deletions
|
@ -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/...")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue