From c1b93621ce0ac7f9da7c35a9f15f23b77b4a841b Mon Sep 17 00:00:00 2001 From: MarioRadu Date: Thu, 2 May 2024 15:05:43 +0300 Subject: [PATCH] pre run hook tst --- .laminas-ci/pre-run.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.laminas-ci/pre-run.sh b/.laminas-ci/pre-run.sh index 5ebaef0..e3d054f 100755 --- a/.laminas-ci/pre-run.sh +++ b/.laminas-ci/pre-run.sh @@ -9,11 +9,12 @@ echo "$2" JOB=$3 COMMAND=$(echo "${JOB}" | jq -r '.command') +ls -la + echo "$COMMAND" -#if [[ ! ${COMMAND} =~ phpunit ]];then -# exit 0 -#fi +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 -#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 \ No newline at end of file +fi \ No newline at end of file