Skip to content

Commit

Permalink
Keep the ability to provide additional options to PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
sibprogrammer committed Oct 7, 2021
1 parent 717cfd0 commit fe2cfd7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@
"process-timeout": 0
},
"scripts": {
"test": [
"psalm",
"phpunit"
],
"test": "phpunit",
"test:watch": "phpunit-watcher watch",
"lint": "psalm"
},
Expand Down
7 changes: 6 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ services:
environment:
REMOTE_URL: https://plesk:8443
REMOTE_PASSWORD: changeme1Q**
command: bash -c "cd /opt/api-php-lib && composer install && ./wait-for-plesk.sh && composer test -- --testdox"
command: >
bash -c "cd /opt/api-php-lib
&& composer install
&& ./wait-for-plesk.sh
&& composer lint
&& composer test -- --testdox"
depends_on:
- plesk
links:
Expand Down

0 comments on commit fe2cfd7

Please sign in to comment.