mirror of
https://github.com/onyx-and-iris/slobs-cli.git
synced 2025-06-27 07:10:24 +01:00
make test a composite command so we can avoid failing fast
This commit is contained in:
parent
81d0072148
commit
f282f86e72
@ -28,12 +28,13 @@ _.env_file = ".env"
|
||||
|
||||
cli.cmd = "slobs-cli {args}"
|
||||
|
||||
pre_test.cmd = "python tests/setup.py"
|
||||
test.cmd = "pytest {args}"
|
||||
post_test.cmd = "python tests/teardown.py"
|
||||
_setup.cmd = "python tests/setup.py"
|
||||
_teardown.cmd = "python tests/teardown.py"
|
||||
test.composite = ["_setup", "pytest {args}", "_teardown"]
|
||||
test.keep_going = true
|
||||
|
||||
fmt.cmd = "ruff format {args}"
|
||||
lint.cmd = "ruff check {args}"
|
||||
post_fmt.cmd = "ruff check {args}"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user