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 <noreply@anthropic.com>
This commit is contained in:
Tobias KaupatandClaude Sonnet 5.5 committed 2026-10-20 09:17:03 +02:00
1 parent 0970b319a6
commit 9be33e3c26
1 file changed
+7 -4
+7 -4
View File
@@ -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