.github/workflows: simplify build-only go test invocation

Signed-off-by: David Anderson <danderson@tailscale.com>
pull/7270/head
David Anderson 1 year ago committed by Dave Anderson
parent 253333b8a3
commit 2eb25686d7

@ -171,11 +171,7 @@ jobs:
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: "0"
- name: build tests
run: |
toolgo=`pwd`/tool/go
for d in $($toolgo list -f '{{if .TestGoFiles}}{{.Dir}}{{end}}' ./... ); do
(echo $d; cd $d && $toolgo test -c)
done
run: ./tool/go test -exec=true ./...
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}

Loading…
Cancel
Save