.github: actually run tests in CI

Updates #cleanup

Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
Maisem Ali
2023-06-25 12:37:31 -07:00
committed by Maisem Ali
parent ba41d14320
commit c11af12a49
3 changed files with 29 additions and 18 deletions

View File

@@ -90,11 +90,11 @@ jobs:
- name: build test wrapper
run: ./tool/go build -o /tmp/testwrapper ./cmd/testwrapper
- name: test all
run: ./tool/go test ${{matrix.buildflags}} -exec=/tmp/testwrapper
run: ./tool/go test ${{matrix.buildflags}} -exec=/tmp/testwrapper ./...
env:
GOARCH: ${{ matrix.goarch }}
- name: bench all
run: ./tool/go test ${{matrix.buildflags}} -exec=/tmp/testwrapper -test.bench=. -test.benchtime=1x -test.run=^$
run: ./tool/go test ${{matrix.buildflags}} -exec=/tmp/testwrapper -test.bench=. -test.benchtime=1x -test.run=^$ ./...
env:
GOARCH: ${{ matrix.goarch }}
- name: check that no tracked files changed