Skip to content

Commit 4a19447

Browse files
committed
update circleci to allow exit code 1 failures but not 255
1 parent a07bfb6 commit 4a19447

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
- run:
100100
name: Global - Run against a module
101101
command: |
102-
drupal-check -vvv /tmp/drupal/core/modules/dynamic_page_cache
102+
drupal-check -vvv /tmp/drupal/core/modules/dynamic_page_cache || if (($? == 255)); then false; else true; fi
103103
test_drupal_project:
104104
<<: *defaults
105105
steps:
@@ -113,7 +113,7 @@ jobs:
113113
- run:
114114
name: Global - Run against a module
115115
command: |
116-
drupal-check -vvv /tmp/drupal/web/core/modules/dynamic_page_cache
116+
drupal-check -vvv /tmp/drupal/web/core/modules/dynamic_page_cache || if (($? == 255)); then false; else true; fi
117117
test_drupal_local_require:
118118
<<: *defaults
119119
steps:
@@ -138,7 +138,7 @@ jobs:
138138
name: Local - Run against a module
139139
command: |
140140
cd /tmp/drupal
141-
./vendor/bin/drupal-check -vvv web/core/modules/dynamic_page_cache
141+
./vendor/bin/drupal-check -vvv web/core/modules/dynamic_page_cache || if (($? == 255)); then false; else true; fi
142142
test_contrib:
143143
<<: *defaults
144144
steps:
@@ -168,7 +168,7 @@ jobs:
168168
- run:
169169
name: Run against a module
170170
command: |
171-
drupal-check -vvv /tmp/drupal/web/core/modules/dynamic_page_cache
171+
drupal-check -vvv /tmp/drupal/web/core/modules/dynamic_page_cache || if (($? == 255)); then false; else true; fi
172172
test_contained_not_initialized:
173173
<<: *defaults
174174
steps:

0 commit comments

Comments
 (0)