From: Matt Joiner Date: Mon, 12 May 2025 07:49:43 +0000 (+1000) Subject: Skip GOARCH=386 test on darwin and try to minimize step outputs X-Git-Tag: v1.59.0~150 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=f3f9ce0fa60eda8104b6de473a7299433f2b7523;p=btrtrc.git Skip GOARCH=386 test on darwin and try to minimize step outputs --- diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b1387772..9a1331b6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,10 +23,15 @@ jobs: run: | cd storage/possum/lib cargo build --lib - - run: go test -race -bench . -benchtime 2x ./... + # Separate to remove downloading spam and possible caching improvement. + - run: go mod download + - run: go test -race ./... + # Separate benchmarks because I think it modifies the stderr handling. + - run: go test -race -bench . -benchtime 2x -run @ ./... # Test on 386 for atomic alignment and other bad 64-bit assumptions - - run: GOARCH=386 go test -run @ ./... + - if: matrix.os != 'macos-latest' + run: GOARCH=386 go test -run @ ./... - name: Some packages compile for WebAssembly run: GOOS=js GOARCH=wasm go build . ./storage ./tracker/... - run: |