Skip to content

Commit

Permalink
pre run hook tst
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRadu committed May 2, 2024
1 parent b4b2319 commit a77df84
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .laminas-ci/pre-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ cd ../

echo "$PWD"

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
echo "$2"

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

echo "$COMMAND"
#if [[ ! ${COMMAND} =~ phpunit ]];then
# exit 0
#fi

#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

0 comments on commit a77df84

Please sign in to comment.