remove most of cargo test from engage as crane does that but with more caching

Signed-off-by: June Clementine Strawberry <june@3.dog>
This commit is contained in:
June Clementine Strawberry 2025-03-11 21:08:41 -04:00
parent 7f95eef9ab
commit ae818d5b25

View file

@ -161,24 +161,6 @@ name = "markdownlint"
group = "lints" group = "lints"
script = "markdownlint docs *.md || true" # TODO: fix the ton of markdown lints so we can drop `|| true` script = "markdownlint docs *.md || true" # TODO: fix the ton of markdown lints so we can drop `|| true`
[[task]]
name = "cargo/all"
group = "tests"
script = """
env DIRENV_DEVSHELL=all-features \
direnv exec . \
cargo test \
--workspace \
--locked \
--profile test \
--all-targets \
--no-fail-fast \
--all-features \
--color=always \
-- \
--color=always
"""
[[task]] [[task]]
name = "cargo/default" name = "cargo/default"
group = "tests" group = "tests"
@ -196,24 +178,6 @@ env DIRENV_DEVSHELL=default \
--color=always --color=always
""" """
[[task]]
name = "cargo/no-features"
group = "tests"
script = """
env DIRENV_DEVSHELL=no-features \
direnv exec . \
cargo test \
--workspace \
--locked \
--profile test \
--all-targets \
--no-fail-fast \
--no-default-features \
--color=always \
-- \
--color=always
"""
# Checks if the generated example config differs from the checked in repo's # Checks if the generated example config differs from the checked in repo's
# example config. # example config.
[[task]] [[task]]