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:
Tõnis Ormisson
2022-02-17 14:45:34 +02:00
committed by GitHub
parent c32a2ca4a9
commit 422a17d8dc
7 changed files with 88 additions and 70 deletions

View File

@ -2,9 +2,9 @@
$db = [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2-usuario-test',
'dsn' => 'mysql:host=127.0.0.1;dbname=yii2-usuario-test',
'username' => 'root',
'password' => '',
'password' => 'password',
'charset' => 'utf8',
];