feat(go-process): add CLI test Taskfile for build and unit test validation (AX-10)
Adds tests/cli/process/Taskfile.yaml with canonical build/test/vet/default targets plus test-unit and Unix-gated test-integration (real subprocess tests skipped on windows). default deps-chains build/test/vet per Wave 2 convention. Co-authored-by: Codex <noreply@openai.com> Via-codex-lane: supervised by Cerberus on Athena #103 request Closes tasks.lthn.sh/view.php?id=302
This commit is contained in:
parent
d7c00f9aab
commit
55f7245017
1 changed files with 38 additions and 0 deletions
38
tests/cli/process/Taskfile.yaml
Normal file
38
tests/cli/process/Taskfile.yaml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
version: "3"
|
||||
|
||||
tasks:
|
||||
build:
|
||||
dir: ../../..
|
||||
cmds:
|
||||
- go build ./...
|
||||
|
||||
test:
|
||||
dir: ../../..
|
||||
cmds:
|
||||
- go test -count=1 -race ./...
|
||||
|
||||
vet:
|
||||
dir: ../../..
|
||||
cmds:
|
||||
- go vet ./...
|
||||
|
||||
test-unit:
|
||||
dir: ../../..
|
||||
cmds:
|
||||
- go test -count=1 -race ./... -run Unit
|
||||
|
||||
test-integration:
|
||||
dir: ../../..
|
||||
cmds:
|
||||
- |
|
||||
if [ "$(go env GOOS)" = "windows" ]; then
|
||||
echo "skipping integration tests on windows"
|
||||
else
|
||||
go test -count=1 ./... -run Integration -tags integration
|
||||
fi
|
||||
|
||||
default:
|
||||
deps:
|
||||
- build
|
||||
- test
|
||||
- vet
|
||||
Loading…
Add table
Reference in a new issue