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 9fddf1e commit a030c6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .laminas-ci/pre-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ COMMAND=$(echo "${JOB}" | jq -r '.command')

echo "Running $COMMAND"

if [[ ${COMMAND} =~ phpunit || ${COMMAND} =~ psalm ]];then
pecl install 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
Expand Down

0 comments on commit a030c6a

Please sign in to comment.