Skip to content

Commit

Permalink
[test] fix ci 8
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Apr 15, 2024
1 parent 1f93781 commit a20ccda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/docker-thread-route.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ uname -a && echo ""
php -v && echo ""

# compile in docker
echo "" && echo "📦 Compile thread test in docker..." && echo ""
echo "" && echo "📦 Compile ext-swoole[thread] in docker..." && echo ""
./docker-compile-with-thread.sh

# run unit tests
echo "" && echo "📋 PHP unit tests in docker..." && echo ""
./run-tests.sh swoole-thread
echo "" && echo "📋 Run phpt tests[thread] in docker..." && echo ""
./run-tests.sh
2 changes: 2 additions & 0 deletions scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ echo "" && echo "🌵️️ Current branch is ${SWOOLE_BRANCH}" && echo ""
if [ "${SWOOLE_BRANCH}" = "valgrind" ]; then
dir="base"
options="${options} -m"
elif [ $SWOOLE_THREAD = 1 ]; then
dir="swoole_thread"
else
dir="swoole_*"
fi
Expand Down

0 comments on commit a20ccda

Please sign in to comment.