File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ci tests
2+ discover : go list -f '{{ if or (len .TestGoFiles) (len .XTestGoFiles) }} {{ .ImportPath }} {{end}}' ./...
3+ run : go tool -modfile tools/go.mod gotestsum --junitfile="<< outputs.junit >>" -- -race -count=1 << test.atoms >>
4+ outputs :
5+ junit : test-reports/result.xml
6+ ---
7+ name : windows tests
8+ discover : go list -f '{{ if or (len .TestGoFiles) (len .XTestGoFiles) }} {{ .ImportPath }} {{end}}' ./...
9+ run : go tool -modfile tools/go.mod gotestsum --junitfile="<< outputs.junit >>" -- -count=1 << test.atoms >>
10+ outputs :
11+ junit : test-reports/result.xml
Original file line number Diff line number Diff line change @@ -299,11 +299,10 @@ tasks:
299299 ci:test :
300300 desc : Run tests with JUnit output
301301 vars :
302- ARGS : ' {{default "./..." .CLI_ARGS}}'
303- RACE : ' {{if not (eq OS "windows")}}-race{{end}}'
302+ NAME : ' {{if not (eq OS "windows")}}ci tests{{else}}windows tests{{end}}'
304303 cmds :
305304 - mkdir -p {{.RESULTS_DIR}}
306- - go tool -modfile tools/go.mod gotestsum --junitfile= "{{.TEST_REPORT }}" -- {{.RACE}} -count=1 {{.ARGS}}
305+ - circleci testsuite "{{.NAME }}"
307306
308307 ci:check :
309308 desc : Check no uncommitted diffs after generate/fmt/tidy
You can’t perform that action at this time.
0 commit comments