From b63937af0b603b35c850c87c5f824447231b5c1a Mon Sep 17 00:00:00 2001 From: strawberry Date: Sat, 1 Jun 2024 00:17:03 -0400 Subject: [PATCH] ci(engage): add cargo test default, use all-features devshell for cargo test --all-features Signed-off-by: strawberry --- engage.toml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/engage.toml b/engage.toml index 9a2ae731..011244df 100644 --- a/engage.toml +++ b/engage.toml @@ -134,13 +134,27 @@ group = "lints" script = "lychee --verbose --offline docs *.md" [[task]] -name = "cargo" +name = "cargo/all" +group = "tests" +script = """ +env DIRENV_DEVSHELL=all-features \ + direnv exec . \ + cargo test \ + --workspace \ + --all-targets \ + --all-features \ + --color=always \ + -- \ + --color=always +""" + +[[task]] +name = "cargo/default" group = "tests" script = """ cargo test \ --workspace \ --all-targets \ - --all-features \ --color=always \ -- \ --color=always