mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-21 22:21:41 +00:00
.github/workflows: simplify build-only go test invocation
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
253333b8a3
commit
2eb25686d7
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -171,11 +171,7 @@ jobs:
|
|||||||
GOARCH: ${{ matrix.goarch }}
|
GOARCH: ${{ matrix.goarch }}
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
- name: build tests
|
- name: build tests
|
||||||
run: |
|
run: ./tool/go test -exec=true ./...
|
||||||
toolgo=`pwd`/tool/go
|
|
||||||
for d in $($toolgo list -f '{{if .TestGoFiles}}{{.Dir}}{{end}}' ./... ); do
|
|
||||||
(echo $d; cd $d && $toolgo test -c)
|
|
||||||
done
|
|
||||||
env:
|
env:
|
||||||
GOOS: ${{ matrix.goos }}
|
GOOS: ${{ matrix.goos }}
|
||||||
GOARCH: ${{ matrix.goarch }}
|
GOARCH: ${{ matrix.goarch }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user