Skip to content

Commit 28c8f2d

Browse files
authored
Upgrade development basement (Docker-setup, Workflows, composer.json, Tests) (#163)
* Simplified Docker-setup (local development) Upgraded PHP, use MariaDB (LTS) * Use PHPUnit 12 from now on (v9 before) adapted a few files to solve PHPUnit related issues * Removed many workflows; left only a mysql:lts and mariadb:lts * fixed coding style issues * Attempts to fix failing workflow * Use MariaDB own healthcheck script * Dont run workflows twice * Refined README.md
1 parent e7be60d commit 28c8f2d

95 files changed

Lines changed: 146 additions & 548 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/coding-styles.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Coding Styles"
22

3-
on: [push, pull_request]
3+
on: push
44

55
jobs:
66
tests:
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: true
1212
matrix:
1313
php:
14-
- 8.2
14+
- 8.4
1515

1616
steps:
1717
- name: Checkout

.github/workflows/mariadb-10.10.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/mariadb-10.11.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/mariadb-10.5.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/mariadb-10.6.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/mariadb-10.9.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.
Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,41 @@
1-
name: MySQL 5.5 Tests
1+
name: MariaDB LTS Tests
22

3-
on: [push, pull_request]
3+
on: push
44

55
jobs:
66
pdo-mysql:
7-
name: MySQL 5.5 Tests - PHP ${{ matrix.php }} PDO mysql
7+
name: MariaDB LTS Tests - PHP ${{ matrix.php }} PDO mysql
88
runs-on: ubuntu-latest
99

1010
env:
1111
DB_ADAPTER: pdo
1212
DB_PDO_PROTOCOL: mysql
1313

1414
strategy:
15-
# if one of the matrix-entries break, all entries getting canceled.
16-
fail-fast: true
15+
fail-fast: false
1716
matrix:
1817
php:
19-
- 8.0
20-
- 8.1
21-
- 8.2
22-
- 8.3
18+
- 8.4
19+
- 8.5
2320

2421
services:
2522
testdb:
26-
image: mysql:5.5
23+
image: mariadb:lts
2724
env:
2825
MYSQL_ROOT_PASSWORD: Pass123
2926
MYSQL_DATABASE: arc2_test
3027
MYSQL_ALLOW_EMPTY_PASSWORD: false
3128
ports:
32-
- 3306
33-
options: --health-cmd="mysqladmin ping" --health-interval=15s --health-timeout=3s --health-retries=4
29+
- 3306:3306
30+
options: >-
31+
--health-cmd="healthcheck.sh --connect --innodb_initialized"
32+
--health-interval=10s
33+
--health-timeout=5s
34+
--health-retries=3
3435
3536
steps:
3637
- name: Checkout
37-
uses: actions/checkout@v2
38+
uses: actions/checkout@v4
3839

3940
- name: Install PHP
4041
uses: shivammathur/setup-php@v2

.github/workflows/mysql-5.6.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)