Skip to content

Commit 589077d

Browse files
authored
Merge pull request krowinski#1 from Moln/develop
CI add php 8.1
2 parents 2bcd956 + f15abce commit 589077d

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: PHP Tests
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- "**"
39
jobs:
410
build:
511

@@ -16,16 +22,17 @@ jobs:
1622

1723
strategy:
1824
matrix:
19-
php: [ '7.3', '7.4', '8.0' ]
25+
php: [ '7.3', '7.4', '8.0', '8.1' ]
2026

2127
steps:
2228
- name: Checkout
2329
uses: actions/checkout@v2
2430

2531
- name: Start mysql service
2632
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
2834
sudo /etc/init.d/mysql start
35+
mysql -uroot -proot -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';"
2936
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql -proot
3037
3138
- name: Setup PHP, with composer and extensions

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 krowinski
3+
Copyright (c) 2016 Moln
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
php-mysql-replication
22
=========
3-
[![Build Status](https://travis-ci.org/moln/php-mysql-replication.svg?branch=master)](https://travis-ci.org/moln/php-mysql-replication)
3+
[![PHP Tests](https://github.com/Moln/php-mysql-replication/actions/workflows/tests.yml/badge.svg)](https://github.com/Moln/php-mysql-replication/actions/workflows/tests.yml)
44
[![Latest Stable Version](https://poser.pugx.org/moln/php-mysql-replication/v/stable)](https://packagist.org/packages/moln/php-mysql-replication) [![Total Downloads](https://poser.pugx.org/moln/php-mysql-replication/downloads)](https://packagist.org/packages/moln/php-mysql-replication) [![Latest Unstable Version](https://poser.pugx.org/moln/php-mysql-replication/v/unstable)](https://packagist.org/packages/moln/php-mysql-replication)
55
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/4a0e49d4-3802-41d3-bb32-0a8194d0fd4d/mini.png)](https://insight.sensiolabs.com/projects/4a0e49d4-3802-41d3-bb32-0a8194d0fd4d) [![License](https://poser.pugx.org/moln/php-mysql-replication/license)](https://packagist.org/packages/moln/php-mysql-replication)
66
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/moln/php-mysql-replication/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/moln/php-mysql-replication/?branch=master)

0 commit comments

Comments
 (0)