Skip to content

Commit

Permalink
Fix testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mglaman committed Jun 12, 2019
1 parent dd5142f commit 5bb0d25
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,25 +135,25 @@ jobs:
<<: *defaults
steps:
- setup-job
- build-phar
- create-drupal-project
- run:
name: Add as a local dependency
command: |
cd /tmp/drupal
composer config repositories.drupalCheck '{"type": "path", "url": "~/repo", "options": { "symlink": false }}'
composer require mglaman/drupal-check *@dev
composer config repositories.0 '{"type": "path", "url": "'$CIRCLE_WORKING_DIRECTORY'", "options": { "symlink": false }}'
composer require mglaman/drupal-check dev-${CIRCLE_BRANCH}
rm -rf vendor/mglaman/drupal-check/vendor
./vendor/bin/drupal-check --version
- run:
name: Local - Run against a file
command: |
cd /tmp/drupal
./vendor/bin/drupal-check web/core/install.php
./vendor/bin/drupal-check -vvv web/core/install.php
- run:
name: Local - Run against a module
command: |
cd /tmp/drupal
./vendor/bin/drupal-check web/core/modules/dynamic_page_cache
./vendor/bin/drupal-check -vvv web/core/modules/dynamic_page_cache
test_lightning:
<<: *defaults
steps:
Expand Down

0 comments on commit 5bb0d25

Please sign in to comment.