Skip to content

Commit 49dc929

Browse files
committed
Work in progress. Needs further testing.
1 parent 2bba19a commit 49dc929

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.env.ci

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
APP_KEY=
2-
DB_CONNECTION=sqlite
3-
DB_DATABASE=:memory:
2+
DB_CONNECTION=mysql
3+
DB_HOST=127.0.0.1
4+
DB_PORT=3306
5+
DB_DATABASE=test
6+
DB_USERNAME=root
7+
DB_PASSWORD=password

.github/workflows/ci.yml

+10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ jobs:
66
container:
77
image: kirschbaumdevelopment/laravel-test-runner:8.3
88

9+
services:
10+
mysql:
11+
image: mysql:8.0
12+
env:
13+
MYSQL_ROOT_PASSWORD: password
14+
MYSQL_DATABASE: test
15+
ports:
16+
- 3306:3306
17+
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
18+
919
steps:
1020
- uses: actions/checkout@v3
1121

0 commit comments

Comments
 (0)