mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Drop PHP prior to 7.4
This commit is contained in:
parent
788cb7c4c3
commit
1bd86e156e
5 changed files with 10 additions and 22 deletions
18
.github/workflows/continuous-integration.yml
vendored
18
.github/workflows/continuous-integration.yml
vendored
|
@ -29,8 +29,6 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
php:
|
||||
- "7.2"
|
||||
- "7.3"
|
||||
- "7.4"
|
||||
- "8.0"
|
||||
- "8.1"
|
||||
|
@ -54,21 +52,11 @@ jobs:
|
|||
extensions: json, pdo, pdo_mysql, pdo_sqlite, pdo_pgsql, curl, imagick, pgsql, gd, tidy
|
||||
ini-values: "date.timezone=Europe/Paris"
|
||||
|
||||
- name: "Install MySQL (for PHP < 7.4)"
|
||||
# there is an issue with PHP < 7.4 and MySQL 8 with `caching_sha2_password`
|
||||
if: "${{ matrix.database == 'mysql' && (matrix.php == '7.2' || matrix.php == '7.3') }}"
|
||||
uses: shogo82148/actions-setup-mysql@v1
|
||||
with:
|
||||
root-password: root
|
||||
mysql-version: '5.7'
|
||||
|
||||
- name: "Install MySQL (for PHP >= 7.4)"
|
||||
if: "${{ matrix.database == 'mysql' && matrix.php != '7.2' && matrix.php != '7.3' }}"
|
||||
run: sudo systemctl start mysql.service
|
||||
|
||||
- name: "Setup MySQL"
|
||||
if: "${{ matrix.database == 'mysql' }}"
|
||||
run: sudo mysql -u root -proot -h 127.0.0.1 -e "CREATE DATABASE wallabag_test"
|
||||
run: |
|
||||
sudo systemctl start mysql.service
|
||||
sudo mysql -u root -proot -h 127.0.0.1 -e "CREATE DATABASE wallabag_test"
|
||||
|
||||
- name: "Setup PostgreSQL"
|
||||
if: "${{ matrix.database == 'pgsql' }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue