cmd/testwrapper: move from corp; mark magicsock test as flaky

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ibab5860f5797b3db151d3c27855333e43a9088a4
This commit is contained in:
Andrew Dunham
2023-01-18 11:41:58 -05:00
parent 2df38b1feb
commit aea251d42a
6 changed files with 146 additions and 2 deletions
+4 -1
View File
@@ -29,11 +29,14 @@ jobs:
go-version-file: go.mod
id: go
- name: Build test wrapper
run: ./tool/go build -o /tmp/testwrapper ./cmd/testwrapper
- name: Basic build
run: go build ./cmd/...
- name: Run tests and benchmarks with -race flag on linux
run: go test -race -bench=. -benchtime=1x ./...
run: go test -exec=/tmp/testwrapper -race -bench=. -benchtime=1x ./...
- name: Check that no tracked files in the repo have been modified
run: git diff --no-ext-diff --name-only --exit-code || (echo "Build/test modified the files above."; exit 1)