From 77e5bba989c856efee9561e902260cab5218e233 Mon Sep 17 00:00:00 2001 From: Channing Dong <165202380+channingdong@users.noreply.github.com> Date: Wed, 4 Dec 2024 11:08:42 -0800 Subject: [PATCH] Experinment 2 --- .semaphore/semaphore.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 6c538fa062..5daaf87681 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -16,6 +16,8 @@ blocks: - name: linux/amd64 dependencies: [] task: + when: + condition: false jobs: - name: "Test linux/amd64" commands: @@ -65,6 +67,8 @@ blocks: - name: darwin dependencies: [] task: + when: + condition: false agent: machine: type: s1-prod-macos-13-5-arm64 @@ -106,7 +110,7 @@ blocks: - $Env:GOCOVERDIR = "test/coverage" - New-Item $Env:GOCOVERDIR -ItemType Directory - go install gotest.tools/gotestsum@v1.8.2 - - gotestsum --junitfile unit-test-report.xml -- -timeout 0 -race -v $(go list ./... | Select-String test -NotMatch) -ldflags "-buildmode=exe" + - gotestsum --junitfile unit-test-report.xml -- -timeout 0 -v -parallel 1 $(go list ./... | Select-String test -NotMatch) -ldflags "-buildmode=exe" - gotestsum --junitfile integration-test-report.xml -- -timeout 0 -v $(go list ./... | Select-String test) - go tool covdata textfmt -i $Env:GOCOVERDIR -o test/coverage.out epilogue: