diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 46bc1cc4b..f73e8178d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -273,7 +273,10 @@ jobs: # Don't use -bench=. -benchtime=1x. # Somewhere in the layers (powershell?) # the equals signs cause great confusion. - run: ./tool/go test ./... -bench . -benchtime 1x -run "^$" + # Don't use -run "^$" either; the ^ is cmd.exe's escape + # character, so go.cmd's cmd.exe layer eats it, turning + # -run "^$" into -run "$" which matches all test names. + run: ./tool/go test ./... -bench . -benchtime 1x -run XXXXNothingXXXX env: NOPWSHDEBUG: "true" # to quiet tool/gocross/gocross-wrapper.ps1 in CI