ci(bctt): check for stable channel in 'when' condition

This commit is contained in:
Ellen Emilia Anna Zscheile 2025-01-09 15:36:37 +01:00
parent bd698027be
commit f5153f870a
1 changed files with 2 additions and 2 deletions

View File

@ -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'