File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed
Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -35,31 +35,42 @@ _command(){
3535
3636 cd app/demo
3737
38+ echo ::group::Test php
3839 lnmp-php
40+ echo ::endgroup::
3941
42+ echo ::group::Test php -v
4043 lnmp-php -v
44+ echo ::endgroup::
4145
46+ echo ::group::Test composer
4247 lnmp-composer -V
4348 # lnmp-composer global config github-oauth.github.com ${GITHUB_TOKEN}
4449 lnmp-composer config -g --unset repos.packagist
4550 lnmp-composer install
51+ echo ::endgroup::
4652
53+ echo ::group::Test phpunit
4754 lnmp-phpunit
55+ echo ::endgroup::
4856
4957 cd ..
5058
5159 date
52- lnmp-laravel new laravel_8 8.*
53- date
54-
60+ echo ::group::Test new laravel
5561 lnmp-laravel new laravel
62+ echo ::endgroup::
5663 date
5764
5865 ls -la
5966
67+ echo ::group::Test mysql
6068 lnmp-mysql mysql -V
69+ echo ::endgroup::
6170
71+ echo ::group::Test npm
6272 lnmp-npm -v
73+ echo ::endgroup::
6374
6475 print_info " 测试 PHPer command 完毕"
6576}
@@ -139,14 +150,13 @@ server {
139150 docker ps -a
140151 echo " Wait nginx service start"
141152 sleep 60
153+ echo ::endgroup::
142154
143155 for item in $( docker container ls -a --format " {{.ID}}" ) ; do
144156 echo ::group::cat container $item logs
145157 docker logs $item
146158 echo ::endgroup::
147159 done
148-
149- echo ::endgroup::
150160 done
151161
152162 sleep 120
@@ -157,6 +167,4 @@ server {
157167 docker stack rm lnmp
158168}
159169
160- echo ::group::Test " $1 "
161170if [ ! -z " $1 " ]; then $1 ; else development; swarm; fi
162- echo ::endgroup::
You can’t perform that action at this time.
0 commit comments