Skip to content

Commit

Permalink
Added behat code coverage tool.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgaunt committed Mar 15, 2024
1 parent 2730677 commit 8540392
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,6 @@ jobs:
name: Lint code with NPM linters
command: docker compose exec -T cli bash -c "npm run --prefix \${DREVOPS_WEBROOT}/themes/custom/\${DRUPAL_THEME} lint" || [ "${DREVOPS_CI_NPM_LINT_IGNORE_FAILURE:-0}" -eq 1 ]
- run:
<<<<<<< Updated upstream
=======
name: Provision site
command: |
if [ -f .data/db.sql ]; then
Expand All @@ -351,11 +349,10 @@ jobs:
no_output_timeout: 30m
- run:
name: Restart server with Xdebug enabled
command: XDEBUG_ENABLE=true docker compose up -d cli php nginx # Restart stack with XDEBUG enabled for coverage.
- run:
>>>>>>> Stashed changes
name: Test with PHPUnit
command: |
XDEBUG_ENABLE=true docker compose up -d cli php nginx # Restart stack with XDEBUG enabled for coverage.
docker compose exec -T -e XDEBUG_MODE=coverage cli vendor/bin/phpunit || [ "${DREVOPS_CI_PHPUNIT_IGNORE_FAILURE:-0}" -eq 1 ]
docker compose up -d cli php nginx # Restart stack without XDEBUG enabled for coverage.
- run:
Expand Down

0 comments on commit 8540392

Please sign in to comment.