Skip to content

Commit 84205c7

Browse files
committed
test workflow 2
1 parent 8899f4f commit 84205c7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/symfony.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ jobs:
4848
- name: Install Dependencies
4949
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
5050
- name: Wait for MariaDB
51-
run: until mysqladmin ping -h"127.0.0.1" --silent; do echo 'waiting for mariadb...'; sleep 5; done
52-
- name: Create Database and Tables
53-
run: |
54-
mysql -u test_user -ptest_password -h 127.0.0.1 fphp8 < path/to/your/schema.sql
55-
- name: Execute tests (Unit and Feature tests) via PHPUnit
51+
run: until mysqladmin ping -h"127.0.0.1" --silent; do echo 'waiting for mariadb...'; sleep 5; done
52+
- name: Create Database and Tables
53+
run: | mysql -u test_user -ptest_password -h 127.0.0.1 fphp8 < datas/fphp8.sql
54+
- name: Execute tests (Unit and Feature tests) via PHPUnit
5655
env:
5756
DATABASE_URL: mysql://test_user:[email protected]:3306/fphp8
5857
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)