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
38 lines
618 B
YAML
38 lines
618 B
YAML
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
|