Skip to content

Commit 03d4e2f

Browse files
committed
Make sure tests succeed before deploying
1 parent 2a8a21e commit 03d4e2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/prod/deploy.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ public function configure()
1919
->resetOpCacheFor('http://peterton.nl/')
2020
;
2121
}
22+
public function beforeStartingDeploy()
23+
{
24+
$this->runLocal('bin/phpunit');
25+
}
2226

2327
public function beforePreparing()
2428
{

0 commit comments

Comments
 (0)