Skip to content

Commit

Permalink
Test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Barbun committed Dec 13, 2024
1 parent 5fe23e8 commit 86bd82e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,13 @@ job-build: &job-build
docker compose exec -T cli php -d memory_limit=-1 vendor/bin/behat --colors --strict --rerun --profile="${DREVOPS_CI_BEHAT_PROFILE:-default}" || \
[ "${DREVOPS_CI_BEHAT_IGNORE_FAILURE:-0}" -eq 1 ]
no_output_timeout: 30m
- run:
name: Audit code with shipshape
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 ]
# Optionally run Shipshape audit.
- when:
condition: ${SHIPSHAPE_RUN_AUDIT:-0}
steps:
- run:
name: Audit code with shipshape
command: docker compose exec -T cli sh -c "/usr/local/bin/shipshape -o junit > /app/.logs/test_results/shipshape-results.xml" || [ "${DREVOPS_CI_SHIPSHAPE_IGNORE_FAILURE:-0}" -eq 1 ]
- run:
name: Process test logs and artifacts
command: |
Expand Down Expand Up @@ -366,7 +370,7 @@ jobs:
environment:
DRUPAL_PROFILE: govcms
CIVICTHEME_SUBTHEME_ACTIVATION_SKIP: 1
DREVOPS_CI_SHIPSHAPE_IGNORE_FAILURE: 1
SHIPSHAPE_RUN_AUDIT: 1
DREVOPS_CI_DRUPAL_THEME_CONFIG_LINT_IGNORE_FAILURE: 1
DREVOPS_EXPORT_CODE_DIR: '/tmp/workspace/code_unused'
<<: *job-build
Expand All @@ -377,7 +381,7 @@ jobs:
environment:
DRUPAL_PROFILE: govcms
DREVOPS_CI_DRUPAL_THEME_CONFIG_LINT_IGNORE_FAILURE: 1
DREVOPS_CI_SHIPSHAPE_IGNORE_FAILURE: 1
SHIPSHAPE_RUN_AUDIT: 1
DREVOPS_EXPORT_CODE_DIR: '/tmp/workspace/code_unused'
<<: *job-build

Expand Down

0 comments on commit 86bd82e

Please sign in to comment.