From 55f7245017feef2c3f70411a2b90d38e24f7a157 Mon Sep 17 00:00:00 2001 From: Codex Date: Fri, 24 Apr 2026 14:59:38 +0100 Subject: [PATCH] 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 Via-codex-lane: supervised by Cerberus on Athena #103 request Closes tasks.lthn.sh/view.php?id=302 --- tests/cli/process/Taskfile.yaml | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 tests/cli/process/Taskfile.yaml diff --git a/tests/cli/process/Taskfile.yaml b/tests/cli/process/Taskfile.yaml new file mode 100644 index 0000000..8559847 --- /dev/null +++ b/tests/cli/process/Taskfile.yaml @@ -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