Skip to content

Commit

Permalink
Try.,
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Barbun committed Dec 12, 2024
1 parent 1d527d5 commit c229154
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,7 @@ job-build: &job-build
no_output_timeout: 30m
- run:
name: Audit code with shipshape
command: |
if [ "${SHIPSHAPE_RUN_AUDIT:-0}" -eq 1 ]; then
docker compose exec -T cli /usr/local/bin/shipshape -o junit > /tmp/shipshape-results.xml
fi
command: docker compose exec -T cli /usr/local/bin/shipshape -o junit > /app/.logs/test_results/shipshape-results.xml || [ "${DREVOPS_CI_SHIPSHAPE_IGNORE_FAILURE:-0}" -eq 1 ]
- run:
name: Lint code with PHPCS
command: docker compose exec -T cli vendor/bin/phpcs -v || [ "${DREVOPS_CI_PHPCS_IGNORE_FAILURE:-0}" -eq 1 ]
Expand Down Expand Up @@ -369,7 +366,7 @@ jobs:
environment:
DRUPAL_PROFILE: govcms
CIVICTHEME_SUBTHEME_ACTIVATION_SKIP: 1
SHIPSHAPE_RUN_AUDIT: 1
DREVOPS_CI_SHIPSHAPE_IGNORE_FAILURE: 1
DREVOPS_CI_DRUPAL_THEME_CONFIG_LINT_IGNORE_FAILURE: 1
DREVOPS_EXPORT_CODE_DIR: '/tmp/workspace/code_unused'
<<: *job-build
Expand All @@ -380,7 +377,7 @@ jobs:
environment:
DRUPAL_PROFILE: govcms
DREVOPS_CI_DRUPAL_THEME_CONFIG_LINT_IGNORE_FAILURE: 1
SHIPSHAPE_RUN_AUDIT: 1
DREVOPS_CI_SHIPSHAPE_IGNORE_FAILURE: 1
DREVOPS_EXPORT_CODE_DIR: '/tmp/workspace/code_unused'
<<: *job-build

Expand Down

0 comments on commit c229154

Please sign in to comment.