From 4e8b05fc1b7cf9139348e478f6ba5ee79ff7f33a Mon Sep 17 00:00:00 2001 From: sgiehl Date: Sat, 18 Jul 2026 16:08:42 +0200 Subject: [PATCH 1/2] Run plugin tests against MySQL 8.0 and MariaDB 10.6 The workflow inherited the shared action's MySQL 5.7 default, which is below Matomo's new minimum. Pin the database-backed jobs to the supported floor: PluginTests now runs a MySQL 8.0 + MariaDB 10.6 matrix, and the UI/JS jobs run on MySQL 8.0. --- .github/workflows/matomo-tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/matomo-tests.yml b/.github/workflows/matomo-tests.yml index 570c71d..9204d57 100644 --- a/.github/workflows/matomo-tests.yml +++ b/.github/workflows/matomo-tests.yml @@ -39,6 +39,9 @@ jobs: matrix: php: [ '8.1', '8.5' ] target: ['minimum_required_matomo', 'maximum_supported_matomo'] + database: + - { engine: 'Mysql', version: '8.0' } + - { engine: 'Mariadb', version: '10.6' } steps: - uses: actions/checkout@v3 with: @@ -52,6 +55,8 @@ jobs: plugin-name: 'QueuedTracking' php-version: ${{ matrix.php }} test-type: 'PluginTests' + mysql-engine: ${{ matrix.database.engine }} + mysql-version: ${{ matrix.database.version }} matomo-test-branch: ${{ matrix.target }} redis-service: true artifacts-pass: ${{ secrets.ARTIFACTS_PASS }} @@ -69,6 +74,8 @@ jobs: plugin-name: 'QueuedTracking' matomo-test-branch: 'maximum_supported_matomo' test-type: 'UI' + mysql-engine: 'Mysql' + mysql-version: '8.0' php-version: '8.1' node-version: '16' redis-service: true From ad450abe817e8d40a84d198edc7949522b06e3b9 Mon Sep 17 00:00:00 2001 From: sgiehl Date: Mon, 20 Jul 2026 11:20:23 +0200 Subject: [PATCH 2/2] Only upload plugin test artifacts for the MySQL matrix leg PluginTests runs a MySQL + MariaDB matrix; the upload-artifacts condition matched both legs and uploaded twice. Restrict the upload to the MySQL leg. --- .github/workflows/matomo-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/matomo-tests.yml b/.github/workflows/matomo-tests.yml index 9204d57..7a93915 100644 --- a/.github/workflows/matomo-tests.yml +++ b/.github/workflows/matomo-tests.yml @@ -60,7 +60,7 @@ jobs: matomo-test-branch: ${{ matrix.target }} redis-service: true artifacts-pass: ${{ secrets.ARTIFACTS_PASS }} - upload-artifacts: ${{ matrix.php == '8.1' && matrix.target == 'maximum_supported_matomo' }} + upload-artifacts: ${{ matrix.php == '8.1' && matrix.target == 'maximum_supported_matomo' && matrix.database.engine == 'Mysql' }} UI: runs-on: ubuntu-24.04 steps: