Run PHP CodeSniffer in run-tests.yml GitHub Action.

This commit is contained in:
Michael Stenta 2020-08-18 08:40:41 -04:00
parent 6b468768a2
commit 8ca1b22708
1 changed files with 3 additions and 1 deletions

View File

@ -26,5 +26,7 @@ jobs:
run: sudo docker-compose up -d
- name: Wait 10 seconds
run: sleep 10
- name: Run tests
- name: Run PHPUnit tests
run: sudo docker exec -i -u www-data farmos_www_1 phpunit --verbose --debug --group farm
- name: Run PHP CodeSniffer
run: sudo docker exec -i -u www-data farmos_www_1 phpcs /opt/drupal/web/profiles/farm