Add and test with MySQL in CI

This commit is contained in:
Christopher C. Wells 2021-11-10 15:30:27 -08:00
parent 6bc18c48a8
commit d25e2f4355
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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'