You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/tests.yml
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
name: PHP Tests
2
-
on: [push, pull_request]
2
+
on:
3
+
push:
4
+
branches:
5
+
- master
6
+
pull_request:
7
+
branches:
8
+
- "**"
3
9
jobs:
4
10
build:
5
11
@@ -16,16 +22,17 @@ jobs:
16
22
17
23
strategy:
18
24
matrix:
19
-
php: [ '7.3', '7.4', '8.0' ]
25
+
php: [ '7.3', '7.4', '8.0', '8.1' ]
20
26
21
27
steps:
22
28
- name: Checkout
23
29
uses: actions/checkout@v2
24
30
25
31
- name: Start mysql service
26
32
run: |
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
33
+
echo -e "\n[mysqld]\ndefault_authentication_plugin=mysql_native_password\nserver-id=1\nbinlog_format=row\nlog_bin=/var/log/mysql/mysql-bin.log" | sudo tee -a /etc/mysql/my.cnf
28
34
sudo /etc/init.d/mysql start
35
+
mysql -uroot -proot -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';"
29
36
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql -proot
0 commit comments