From 7e476766683705618048ee755131e761ea1bc9c1 Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Thu, 4 Sep 2025 08:44:28 +0300 Subject: [PATCH 1/2] Issue #332: Replaced .laminas-ci/pre-run.sh script with .laminas-ci.json config file Signed-off-by: alexmerlin --- .laminas-ci.json | 5 +++++ .laminas-ci/pre-run.sh | 15 --------------- 2 files changed, 5 insertions(+), 15 deletions(-) create mode 100644 .laminas-ci.json delete mode 100755 .laminas-ci/pre-run.sh diff --git a/.laminas-ci.json b/.laminas-ci.json new file mode 100644 index 00000000..66d0d62e --- /dev/null +++ b/.laminas-ci.json @@ -0,0 +1,5 @@ +{ + "extensions": [ + "sqlite3" + ] +} \ No newline at end of file diff --git a/.laminas-ci/pre-run.sh b/.laminas-ci/pre-run.sh deleted file mode 100755 index 2b5300aa..00000000 --- a/.laminas-ci/pre-run.sh +++ /dev/null @@ -1,15 +0,0 @@ -JOB=$3 -PHP_VERSION=$4 -COMMAND=$(echo "${JOB}" | jq -r '.command') - -echo "Running pre-run $COMMAND" - -if [[ ${COMMAND} =~ phpunit ]];then - - apt-get install php"${PHP_VERSION}"-sqlite3 - - cp config/autoload/local.php.dist config/autoload/local.php - cp config/autoload/mail.local.php.dist config/autoload/mail.local.php - cp config/autoload/local.test.php.dist config/autoload/local.test.php - -fi From 09270adf788f8db7b1b759461befa1df36abfc1f Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Thu, 4 Sep 2025 08:47:32 +0300 Subject: [PATCH 2/2] Issue #332: Replaced .laminas-ci/pre-run.sh script with .laminas-ci.json config file Signed-off-by: alexmerlin --- .laminas-ci.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.laminas-ci.json b/.laminas-ci.json index 66d0d62e..c64ddf72 100644 --- a/.laminas-ci.json +++ b/.laminas-ci.json @@ -2,4 +2,4 @@ "extensions": [ "sqlite3" ] -} \ No newline at end of file +}