Skip to content

Commit 865a8ae

Browse files
committed
wip
1 parent 29bd4bd commit 865a8ae

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ jobs:
66
tests:
77
runs-on: ubuntu-latest
88

9+
services:
10+
mysql:
11+
image: mysql:5.7
12+
env:
13+
MYSQL_ALLOW_EMPTY_PASSWORD: yes
14+
MYSQL_DATABASE: laravel
15+
ports:
16+
- 3306:3306
17+
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
18+
919
steps:
1020
- name: Checkout code
1121
uses: actions/checkout@v2
@@ -28,6 +38,10 @@ jobs:
2838

2939
- name: Execute tests
3040
run: vendor/bin/pest
41+
env:
42+
DB_CONNECTION: mysql
43+
DB_COLLATION: utf8mb4_unicode_ci
44+
DB_DATABASE: laravel
3145

3246
- name: Deploy
3347
if: github.repository == 'laravelio/laravel.io' && github.ref_name == 'main'

0 commit comments

Comments
 (0)