Change-Id: I7656ae83492d82628a98b1d43908ea6a53b62a24
Signed-off-by: Tom Proctor <[email protected]>
This commit is contained in:
Tom Proctor committed 2026-04-07 12:42:37 +01:00
1 parent 6e44c6828b
commit 21072234dc
3 files changed
+3 -110

No files matched your search

+3 -10
View File
@@ -23,9 +23,6 @@ env:
on:
push:
branches:
- "main"
- "release-branch/*"
pull_request:
# all PRs on all branches
merge_group:
@@ -263,6 +260,7 @@ jobs:
- name: test
if: matrix.key != 'win-bench' # skip on bench builder
working-directory: src
shell: bash
run: ./tool/go run ./cmd/testwrapper sharded:${{ matrix.shard }}
env:
NOPWSHDEBUG: "true" # to quiet tool/gocross/gocross-wrapper.ps1 in CI
@@ -270,13 +268,8 @@ jobs:
- name: bench all
if: matrix.key == 'win-bench'
working-directory: src
# Don't use -bench=. -benchtime=1x.
# Somewhere in the layers (powershell?)
# the equals signs cause great confusion.
# 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
shell: bash
run: ./tool/go test ./... -bench=. -benchtime=1x -run="^^$"
env:
NOPWSHDEBUG: "true" # to quiet tool/gocross/gocross-wrapper.ps1 in CI