]> source.dussan.org Git - rspamd.git/commitdiff
[Ci] Fail on unit test failure
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 11 Dec 2022 10:14:57 +0000 (10:14 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 11 Dec 2022 10:14:57 +0000 (10:14 +0000)
.drone.yml

index 7851eb5575b6bc7d2b5f2f227ccbcade12bd055a..baa13d46d4a02b0b3a094b0b73ccba73fef6108f 100644 (file)
@@ -110,6 +110,9 @@ steps:
         if [ $EXIT_CODE -gt 128 ]; then
         gdb --batch -ex 'thread apply all bt full' -c /var/tmp/*.rspamd-test.core ./rspamd-test;
         exit $EXIT_CODE;
+        fi;
+        if [ $EXIT_CODE -ne 0 ]; then
+        exit $EXIT_CODE;
         fi
       # luacov-coveralls reads luacov.stats.out written by rspamd-test using luacov module
       # and writes json report for coveralls.io service
@@ -279,6 +282,6 @@ trigger:
 
 ---
 kind: signature
-hmac: 15dc479c49116a6282da0a6cdf1f6a38855c95622992ca173369532a6e3b7e53
+hmac: 5bd249274f2c2185fa3c572e9d64b62456d78e3140a9afa245bd6e65c9b9ba1e
 
 ...