From 5a517a49096531916c6fce621c09215c64ea5999 Mon Sep 17 00:00:00 2001 From: Linnea Huxford <7308162+mslinnea@users.noreply.github.com> Date: Thu, 12 Dec 2024 21:59:18 -0800 Subject: [PATCH] mysql test matrix --- .github/workflows/unit-tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 68655eb..26bb248 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -13,6 +13,7 @@ jobs: es_version: [7.17.25, 8.16.1] multisite: [0] wp_version: ["latest", "nightly"] + mysql_version: [5.7, 8.2.26] # Added MySQL versions to the matrix env: CACHEDIR: /tmp/test-cache WP_CORE_DIR: /tmp/wordpress/ @@ -21,7 +22,7 @@ jobs: WP_MULTISITE: ${{ matrix.multisite }} services: mysql: - image: mysql:5.7 + image: mysql:${{ matrix.mysql_version }} env: MYSQL_ALLOW_EMPTY_PASSWORD: yes ports: