From 9be33e3c26b1fdaa46be9fe8841d6a20b00ec543 Mon Sep 17 00:00:00 2001 From: Tobias Kaupat Date: Tue, 20 Oct 2026 09:17:03 +0200 Subject: [PATCH] build: run all test suites and aggregate the exit code task test no longer stops at the first failing suite. Co-Authored-By: Claude Sonnet 5.5 --- Taskfile.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 721e238..b05fc72 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -24,12 +24,15 @@ tasks: - uv run ruff format --check tests test: - desc: Build the image and run all suites + desc: Build the image and run all suites; every suite runs, any failure fails the task cmds: - task: build - - task: test:structure - - task: test:compat - - task: test:features + - cmd: | + rc=0 + {{.TASK_EXE}} test:structure || rc=1 + {{.TASK_EXE}} test:compat || rc=1 + {{.TASK_EXE}} test:features || rc=1 + exit $rc test:structure: desc: Run container-structure-test against the image and remove its containers and volumes