mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 23:07:44 +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 }}
|
||||
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…
x
Reference in New Issue
Block a user