From 5e080f38a6bc184c35811c8a81d368ce3f0e230b Mon Sep 17 00:00:00 2001 From: mitchell Date: Fri, 11 Sep 2026 10:13:52 -0400 Subject: [PATCH] Try to avoid macOS integration test failures due to gotestfmt crash. --- .github/workflows/build.yml | 1 + activestate.yaml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 367bef1a5b..dec5582f22 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -290,6 +290,7 @@ jobs: if: "!contains(fromJSON('[\"refs/heads/beta\", \"refs/heads/release\", \"refs/heads/LTS\"]'), github.ref)" shell: bash run: | + export CGO_ENABLED=0 if [ "$GITHUB_EVENT_NAME" != "schedule" ]; then LABELS="${{ join(github.event.pull_request.labels.*.name, ',') }}" IFS=',' read -r -a TESTS <<< "$LABELS" diff --git a/activestate.yaml b/activestate.yaml index 040a23dd7d..9523cd6a0f 100644 --- a/activestate.yaml +++ b/activestate.yaml @@ -335,8 +335,7 @@ scripts: standalone: true description: Runs unit tests (not integration tests) value: | - # Disable CGo to prevent clang warnings from crashing gotestfmt. - export CGO_ENABLED=0 + $constants.SET_ENV go test -vet=off -v `go list ./... | grep -v integration | grep -v automation | grep -v expect | grep -v state-svc | grep -v state-offline` $@ - name: integration-tests language: bash