aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-17 12:39:54 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-17 12:40:27 +0100
commit5b79975808c9d4bb04b64feeec1bb8204c0d7357 (patch)
treeae152e4f0df7617d247922dd13cd22946bf85353
parent302f4828703313057823dfcc39d01ae00eb21e86 (diff)
woodpecker fix conditional branch execution
-rw-r--r--.woodpecker.yml27
1 files changed, 16 insertions, 11 deletions
diff --git a/.woodpecker.yml b/.woodpecker.yml
index ba2c7b5..a9efb82 100644
--- a/.woodpecker.yml
+++ b/.woodpecker.yml
@@ -1,15 +1,20 @@
pipeline:
- current:
+ current-emacs:
image: silex/emacs:cask
- commands:
- - emacs --version
- - cask install
- - cask emacs -batch -l test/ert-helper.el -f ert-run-tests-batch-and-exit
- last:
+ when:
+ branch: [main, develop]
+ commands:
+ - emacs --version
+ - cask install
+ - cask emacs -batch -l test/ert-helper.el -f ert-run-tests-batch-and-exit
+
+ last-emacs:
image: silex/emacs:27-ci-cask
- commands:
- - emacs --version
- - cask install
- - cask emacs -batch -l test/ert-helper.el -f ert-run-tests-batch-and-exit
+ when:
+ branch: [main, develop]
+ commands:
+ - emacs --version
+ - cask install
+ - cask emacs -batch -l test/ert-helper.el -f ert-run-tests-batch-and-exit
+
-+branches: [ main, develop ]