make test a composite command so we can avoid failing fast

This commit is contained in:
onyx-and-iris 2025-06-13 05:46:30 +01:00
parent 81d0072148
commit f282f86e72

View File

@ -28,12 +28,13 @@ _.env_file = ".env"
cli.cmd = "slobs-cli {args}" cli.cmd = "slobs-cli {args}"
pre_test.cmd = "python tests/setup.py" _setup.cmd = "python tests/setup.py"
test.cmd = "pytest {args}" _teardown.cmd = "python tests/teardown.py"
post_test.cmd = "python tests/teardown.py" test.composite = ["_setup", "pytest {args}", "_teardown"]
test.keep_going = true
fmt.cmd = "ruff format {args}" fmt.cmd = "ruff format {args}"
lint.cmd = "ruff check {args}" post_fmt.cmd = "ruff check {args}"
[dependency-groups] [dependency-groups]
dev = [ dev = [