From f5153f870af83dfafa4006b71943b75b34efe300 Mon Sep 17 00:00:00 2001 From: Ellen Emilia Anna Zscheile Date: Thu, 9 Jan 2025 15:36:37 +0100 Subject: [PATCH] ci(bctt): check for stable channel in 'when' condition --- .woodpecker/build_cli_then_test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/build_cli_then_test.yaml b/.woodpecker/build_cli_then_test.yaml index e3da18c..0571658 100644 --- a/.woodpecker/build_cli_then_test.yaml +++ b/.woodpecker/build_cli_then_test.yaml @@ -43,11 +43,11 @@ steps: RUST_BACKTRACE: 1 CARGO_TERM_COLOR: always commands: - # Only run tests for stable channel to avoid straining Codeberg's CI. - - test "$CHANNEL" = "stable" - cargo test --verbose --no-default-features --features "$FEATURES" when: event: [pull_request, push, tag] + # Only run tests for stable channel to avoid straining Codeberg's CI. + evaluate: 'CHANNEL == "stable"' path: include: - '.woodpecker/*.yaml'