Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Trying new thing w/o ddev
  • Loading branch information
dafeder committed Aug 20, 2021
commit aa0fe39c0af62bb4136070011f3c80549fc36f1a
11 changes: 5 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ jobs:
steps:
- checkout
- run:
name: Setup DDEV
name: Setup Xdebug
command: |
curl -LO https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh
sudo pecl channel-update pecl.php.net
sudo pecl install xdebug && sudo docker-php-ext-enable xdebug
- run:
name: Setup Code Climate test-reporter
command: |
Expand All @@ -20,10 +21,8 @@ jobs:
- run:
name: Run tests
command: |
ddev start
ddev xdebug
ddev composer install
composer install
./cc-test-reporter before-build
ddev exec ./vendor/bin/phpunit --testsuite all --coverage-clover clover.xml
./vendor/bin/phpunit --testsuite all --coverage-clover clover.xml
sed -i 's+/var/www/html/+/home/circleci/repo/+g' clover.xml
./cc-test-reporter after-build --coverage-input-type clover --exit-code $?