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

#echo "$2"
echo "Running $COMMAND"

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

#ls -la

#echo "$COMMAND"
if [[ ${COMMAND} =~ phpunit ]];then
if [[ ${COMMAND} =~ phpunit || ${COMMAND} =~ psalm ]];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 9fddf1e

Please sign in to comment.