Use GitHub actions (#447)
* init github actions * init github actions: test run on feature branch * github actions: remove alternative mysql port * github actions: expose mysql port * github actions: install & try migrations * github actions: adjust test db configuration for github actions * github actions: run tests * github actions: fix codeception db connection add actions badge * github actions: try only php8 * github actions: add php 7.4 * github actions: dont fail fast * github actions: save test-outputs as artifacts * github actions: save test-outputs only on fail * github actions: save runtime folder in artifacts on failed build * github actions: save runtime folder in artifacts on failed build * github actions: save error logs for tests * github actions: log error if unable to send email on new user creation * github actions: change log conf * github actions: add tests yii2:transaction=false to pass tests on php < 8 * github actions: add tests yii2:transaction=false to pass tests on php < 8 * github actions: remove travis * github actions: add changelog
This commit is contained in:
@ -4,8 +4,8 @@ paths:
|
||||
log: tests/_output
|
||||
data: tests/_data
|
||||
helpers: tests/_support
|
||||
bootstrap: _bootstrap.php
|
||||
settings:
|
||||
bootstrap: _bootstrap.php
|
||||
colors: true
|
||||
memory_limit: 1024M
|
||||
modules:
|
||||
@ -13,11 +13,12 @@ modules:
|
||||
Db:
|
||||
dsn: 'mysql:host=127.0.0.1;dbname=yii2-usuario-test'
|
||||
user: 'root'
|
||||
password: ''
|
||||
password: 'password'
|
||||
dump: tests/_data/schema.sql
|
||||
Yii2:
|
||||
configFile: 'tests/_app/config/test.php'
|
||||
cleanup: false
|
||||
transaction: false
|
||||
coverage:
|
||||
enabled: true
|
||||
whitelist:
|
||||
|
||||
Reference in New Issue
Block a user