File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11build :
22 environment :
3- ubuntu : ' 2204'
4- php :
5- version : ' 8.3'
6- ini :
7- memory_limit : ' -1'
8- mysql :
9- version : ' 8.0'
3+ php : ' 8.3'
4+ mysql : true
105
116 dependencies :
12- before :
13- - mysql -uroot -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'; FLUSH PRIVILEGES;"
14- - mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS \`swinn-test\`;"
15- - php -r "file_exists('.env') || copy('.env.example', '.env');"
16- - sed -i 's/DB_DATABASE=laravel/DB_DATABASE=swinn-test/' .env
17- - sed -i 's/DB_PASSWORD=/DB_PASSWORD=root/' .env
18- - composer install --no-ansi --no-interaction --no-scripts --prefer-dist
19- - php artisan key:generate
20- - php artisan migrate --force
21- - php artisan passport:install --no-interaction
7+ override :
8+ - composer install --no-interaction --prefer-dist
229
2310 tests :
2411 override :
25- - php-scrutinizer-run
12+ - command : cp .env.example .env
13+ - command : php artisan key:generate
14+ - command : mysql -u root -e "CREATE DATABASE IF NOT EXISTS \`swinn-test\`;"
15+ - command : php artisan migrate --force
16+ - command : php artisan passport:install --no-interaction
2617 - command : vendor/bin/phpunit
2718 coverage :
2819 file : build/logs/clover.xml
2920 format : clover
21+ environment :
22+ DB_CONNECTION : mysql
23+ DB_HOST : 127.0.0.1
24+ DB_PORT : 3306
25+ DB_DATABASE : swinn-test
26+ DB_USERNAME : root
27+ DB_PASSWORD : ' '
3028
3129checks :
3230 php :
You can’t perform that action at this time.
0 commit comments