Skip to content

Commit

Permalink
pre run hook test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRadu committed May 2, 2024
1 parent 71a9f39 commit 0b6d23b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .laminas-ci/pre-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ PHP_VERSION=$4
COMMAND=$(echo "${JOB}" | jq -r '.command')

echo "Running $COMMAND @@@@@@@@@@@@@@@"
echo "PHP VERSION : ${PHP_VERSION}"

apt-get install php8.2-sqlite3
apt-get install php8.3-sqlite3
#apt-get install php8.2-sqlite3
#apt-get install php8.3-sqlite3

if [[ ${COMMAND} =~ phpunit ]];then
mv config/autoload/local.php.dist config/autoload/local.php
mv config/autoload/mail.local.php.dist config/autoload/mail.local.php
mv config/autoload/local.test.php.dist config/autoload/local.test.php

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

0 comments on commit 0b6d23b

Please sign in to comment.