-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec0b7ea
commit 77e5bba
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[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: | ||
|