mirror of https://github.com/kcal-app/kcal.git
Add and test with MySQL in CI
This commit is contained in:
parent
6bc18c48a8
commit
d25e2f4355
7
.env.ci
7
.env.ci
|
|
@ -7,7 +7,12 @@ APP_URL=http://localhost
|
||||||
LOG_CHANNEL=stack
|
LOG_CHANNEL=stack
|
||||||
LOG_LEVEL=debug
|
LOG_LEVEL=debug
|
||||||
|
|
||||||
DB_CONNECTION=sqlite
|
DB_CONNECTION=mysql
|
||||||
|
DB_HOST=db
|
||||||
|
DB_PORT=3306
|
||||||
|
DB_DATABASE=kcal
|
||||||
|
DB_USERNAME=root
|
||||||
|
DB_PASSWORD=root
|
||||||
|
|
||||||
SCOUT_DRIVER=elastic
|
SCOUT_DRIVER=elastic
|
||||||
ELASTIC_HOST=localhost:9200
|
ELASTIC_HOST=localhost:9200
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,10 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: mirromutth/mysql-action@v1.1
|
||||||
|
with:
|
||||||
|
mysql database: kcal
|
||||||
|
mysql root password: root
|
||||||
- uses: shivammathur/setup-php@v2
|
- uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '8.0'
|
php-version: '8.0'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue