Skip to content

Instantly share code, notes, and snippets.

@mpdonadio
Created March 4, 2017 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpdonadio/681c7917c55a0d1706d7e9b8ab0896d5 to your computer and use it in GitHub Desktop.
Save mpdonadio/681c7917c55a0d1706d7e9b8ab0896d5 to your computer and use it in GitHub Desktop.
Run phpunit on all changed tests
#!/bin/bash
for i in `git diff --name-only origin/8.4.x | grep -E 'src/Functional|src/Kernel'`; do
vendor/bin/phpunit --verbose --configuration core/phpunit.xml $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment