Skip to content

Commit

Permalink
Experinment 2
Browse files Browse the repository at this point in the history
  • Loading branch information
channingdong committed Dec 4, 2024
1 parent ec0b7ea commit 77e5bba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ blocks:
- name: linux/amd64
dependencies: []
task:
when:
condition: false
jobs:
- name: "Test linux/amd64"
commands:
Expand Down Expand Up @@ -65,6 +67,8 @@ blocks:
- name: darwin
dependencies: []
task:
when:
condition: false
agent:
machine:
type: s1-prod-macos-13-5-arm64
Expand Down Expand Up @@ -106,7 +110,7 @@ blocks:
- $Env:GOCOVERDIR = "test/coverage"
- New-Item $Env:GOCOVERDIR -ItemType Directory
- go install gotest.tools/[email protected]
- 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:
Expand Down

0 comments on commit 77e5bba

Please sign in to comment.