mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Update tests.yml
This commit is contained in:
parent
a93042d4a8
commit
297d777408
1 changed files with 8 additions and 7 deletions
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
|
@ -14,13 +14,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
APP_ENV: test
|
APP_ENV: test
|
||||||
SYMFONY_DEPRECATIONS_HELPER: disabled
|
SYMFONY_DEPRECATIONS_HELPER: disabled
|
||||||
|
DATABASE_URL: 'mysql://root:1234@127.0.0.1:3306/part-db_test'
|
||||||
services:
|
|
||||||
mysql:
|
|
||||||
image: mysql:latest
|
|
||||||
env:
|
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
|
||||||
MYSQL_DATABASE: laravel_tags
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -36,6 +30,13 @@ jobs:
|
||||||
coverage: pcov
|
coverage: pcov
|
||||||
extensions: mbstring, intl, gd, xsl, gmp, bcmath
|
extensions: mbstring, intl, gd, xsl, gmp, bcmath
|
||||||
|
|
||||||
|
- name: Setup MySQL
|
||||||
|
uses: mirromutth/mysql-action@v1.1
|
||||||
|
with:
|
||||||
|
mysql version: 5.7
|
||||||
|
mysql database: 'part-db'
|
||||||
|
mysql root password: '1234'
|
||||||
|
|
||||||
- name: Install composer dependencies
|
- name: Install composer dependencies
|
||||||
run: composer install --prefer-dist --no-progress
|
run: composer install --prefer-dist --no-progress
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue