Skip to content

Commit b41fd7f

Browse files
authored
Update tests.yml
1 parent 82a7abe commit b41fd7f

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,9 @@ jobs:
2424

2525
- name: Start mysql service
2626
run: |
27-
sudo chmod 777 /var/lib/mysql /var/log/mysql/*
28-
mysqld \
29-
--datadir=/var/lib/mysql \
30-
--server-id=1 \
31-
--log-bin=/var/lib/mysql/mysql-bin.log \
32-
--binlog-format=row \
33-
--max_allowed_packet=64M
34-
27+
echo -e "\n[mysqld]\nserver-id=1\nbinlog_format=row\nlog_bin=/var/log/mysql/mysql-bin.log" | sudo tee -a /etc/mysql/my.cnf
28+
sudo /etc/init.d/mysql start
29+
3530
- name: Setup PHP, with composer and extensions
3631
uses: shivammathur/setup-php@v2
3732
with:

0 commit comments

Comments
 (0)