mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Add c3 code coverage.
This commit is contained in:
parent
1a42bec51c
commit
8de142cd9a
@ -54,11 +54,14 @@
|
||||
"scripts": {
|
||||
"post-install-cmd": [
|
||||
"php artisan clear-compiled",
|
||||
"php artisan optimize"
|
||||
"php artisan optimize",
|
||||
"Codeception\\c3\\Installer::copyC3ToRoot"
|
||||
|
||||
],
|
||||
"post-update-cmd": [
|
||||
"php artisan clear-compiled",
|
||||
"php artisan optimize"
|
||||
"php artisan optimize",
|
||||
"Codeception\\c3\\Installer::copyC3ToRoot"
|
||||
],
|
||||
"post-create-project-cmd": [
|
||||
"php -r \"copy('.env.example', '.env');\"",
|
||||
|
@ -20,6 +20,14 @@
|
||||
|
||||
require __DIR__.'/../bootstrap/autoload.php';
|
||||
|
||||
/**
|
||||
* Adding c3.php for code coverage during codeception tests
|
||||
* ref: https://github.com/Codeception/c3
|
||||
*/
|
||||
if (file_exists(__DIR__ . '/../c3.php')) {
|
||||
require __DIR__ . '/../c3.php';
|
||||
}
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Turn On The Lights
|
||||
|
Loading…
Reference in New Issue
Block a user