Improvements for new 'deploy' stage
This commit is contained in:
parent
788aeb161a
commit
21a73abd16
14 changed files with 37 additions and 20 deletions
|
|
@ -72,7 +72,7 @@ class Codeception extends Plugin implements ZeroConfigPluginInterface
|
|||
*/
|
||||
public static function canExecute($stage, Builder $builder, Build $build)
|
||||
{
|
||||
return $stage == 'test' && !is_null(self::findConfigFile($builder->buildPath));
|
||||
return $stage == Build::STAGE_TEST && !is_null(self::findConfigFile($builder->buildPath));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue