* 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
30 lines
677 B
YAML
30 lines
677 B
YAML
actor: Tester
|
|
paths:
|
|
tests: tests
|
|
log: tests/_output
|
|
data: tests/_data
|
|
helpers: tests/_support
|
|
bootstrap: _bootstrap.php
|
|
settings:
|
|
colors: true
|
|
memory_limit: 1024M
|
|
modules:
|
|
config:
|
|
Db:
|
|
dsn: 'mysql:host=127.0.0.1;dbname=yii2-usuario-test'
|
|
user: 'root'
|
|
password: 'password'
|
|
dump: tests/_data/schema.sql
|
|
Yii2:
|
|
configFile: 'tests/_app/config/test.php'
|
|
cleanup: false
|
|
transaction: false
|
|
coverage:
|
|
enabled: true
|
|
whitelist:
|
|
include:
|
|
- src/*
|
|
exclude:
|
|
- src/User/Migration/*
|
|
- src/User/resources/*
|