Skip to content

Commit 2e4bb08

Browse files
authored
Try use tmpfs for mysql volume (#641)
1 parent faee5d4 commit 2e4bb08

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ jobs:
3333
services:
3434
database:
3535
image: ${{ matrix.database }}
36-
ports:
37-
- 3306:3306
3836
env:
3937
MYSQL_ROOT_PASSWORD: hunter2
38+
ports:
39+
- 3306:3306
40+
volumes:
41+
- type=tmpfs,destination=/var/lib/mysql
4042

4143
env:
4244
DB_HOST: 127.0.0.1

0 commit comments

Comments
 (0)