Skip to content

Commit

Permalink
update circleci to allow exit code 1 failures but not 255
Browse files Browse the repository at this point in the history
  • Loading branch information
mglaman committed Apr 29, 2022
1 parent a07bfb6 commit 4a19447
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
- run:
name: Global - Run against a module
command: |
drupal-check -vvv /tmp/drupal/core/modules/dynamic_page_cache
drupal-check -vvv /tmp/drupal/core/modules/dynamic_page_cache || if (($? == 255)); then false; else true; fi
test_drupal_project:
<<: *defaults
steps:
Expand All @@ -113,7 +113,7 @@ jobs:
- run:
name: Global - Run against a module
command: |
drupal-check -vvv /tmp/drupal/web/core/modules/dynamic_page_cache
drupal-check -vvv /tmp/drupal/web/core/modules/dynamic_page_cache || if (($? == 255)); then false; else true; fi
test_drupal_local_require:
<<: *defaults
steps:
Expand All @@ -138,7 +138,7 @@ jobs:
name: Local - Run against a module
command: |
cd /tmp/drupal
./vendor/bin/drupal-check -vvv web/core/modules/dynamic_page_cache
./vendor/bin/drupal-check -vvv web/core/modules/dynamic_page_cache || if (($? == 255)); then false; else true; fi
test_contrib:
<<: *defaults
steps:
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
- run:
name: Run against a module
command: |
drupal-check -vvv /tmp/drupal/web/core/modules/dynamic_page_cache
drupal-check -vvv /tmp/drupal/web/core/modules/dynamic_page_cache || if (($? == 255)); then false; else true; fi
test_contained_not_initialized:
<<: *defaults
steps:
Expand Down

0 comments on commit 4a19447

Please sign in to comment.