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 c1d7f3e commit f1f7ff6
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .laminas-ci/pre-run.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
JOB=$3
PHP_VERSION=$5

COMMAND=$(echo "${JOB}" | jq -r '.command')

echo "Running $COMMAND"

#pecl install sqlite
#pecl install php8-sqlite3

apt-get install php8.2-sqlite3

echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"

apt-get install php8.2-sqlite

#php -i | grep sqlite
apt-get install "php${PHP_VERSION}-sqlite3"

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

0 comments on commit f1f7ff6

Please sign in to comment.