From 4a233333ab7f9932f52928a2f069b1b9a29c29f4 Mon Sep 17 00:00:00 2001 From: Szabolcs Hajdu Date: Thu, 12 Dec 2024 19:54:18 +0100 Subject: [PATCH 1/4] fix(ci): use latest mssql image which fixes issue where /opt/mssql-tools/bin/sqlcmd tool not found in given path --- .github/workflows/main.yml | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c1e6b1c9..4ec816d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,7 +53,7 @@ jobs: ports: - 5432:5432 mssql: - image: mcr.microsoft.com/mssql/server:2019-latest + image: mcr.microsoft.com/mssql/server:2022-CU13-ubuntu-20.04 env: SA_PASSWORD: P@ssw0rd ACCEPT_EULA: 'Y' diff --git a/docker-compose.yml b/docker-compose.yml index 6fbad477..0a234913 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -38,7 +38,7 @@ services: - "5432:5432" mssql: - image: mcr.microsoft.com/mssql/server:2019-latest + image: mcr.microsoft.com/mssql/server:2022-CU13-ubuntu-20.04 environment: SA_PASSWORD: 'P@ssw0rd' MSSQL_DATABASE: codeception From 98efc7a277d4d264d27c769dbfdb44b5a36e9c5c Mon Sep 17 00:00:00 2001 From: Szabolcs Hajdu Date: Fri, 3 Jan 2025 16:58:05 +0100 Subject: [PATCH 2/4] fix(ci): run ci on latest ubuntu version --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4ec816d3..2b11cf8a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ on: [push, pull_request] jobs: phpcs: name: Code style - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout From 4b15109381119e5cc10670825bba706660a5c727 Mon Sep 17 00:00:00 2001 From: Szabolcs Hajdu Date: Fri, 3 Jan 2025 16:59:18 +0100 Subject: [PATCH 3/4] fix(ci): run ci on latest ubuntu version --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2b11cf8a..47f40079 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ jobs: tests: name: Unit tests - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 services: mysql: From 441d2b042cd9f52ee5db872a65dae48c38e54a48 Mon Sep 17 00:00:00 2001 From: Szabolcs Hajdu Date: Fri, 3 Jan 2025 17:01:23 +0100 Subject: [PATCH 4/4] fix(ci): run ci on ubuntu-22.04 OS as mssql image is broken on latest --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 47f40079..0c1d40b7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ on: [push, pull_request] jobs: phpcs: name: Code style - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 steps: - name: Checkout @@ -25,7 +25,7 @@ jobs: tests: name: Unit tests - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 services: mysql: