Skip to content

Commit 99b4a2c

Browse files
committed
Enabled gtid mode in ci mysql
1 parent eb616ce commit 99b4a2c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@ jobs:
165165
-e MYSQL_DATABASE=mydatabase \
166166
-p 3306:3306 \
167167
-d mysql:${{ matrix.mysql-version }} \
168-
--log-bin=/var/lib/mysql/mysql-bin.log
168+
--log-bin=/var/lib/mysql/mysql-bin.log \
169+
--gtid_mode=ON \
170+
--enforce_gtid_consistency=ON
169171
170172
- name: Start MongoDB
171173
uses: supercharge/[email protected]

0 commit comments

Comments
 (0)