File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ jobs:
2525 run : sleep 10
2626
2727 - name : Run FPM Tests
28- run : docker compose exec fpm vendor/bin/phpunit --configuration phpunit.xml
28+ run : docker compose exec fpm vendor/bin/phpunit --configuration phpunit.xml --group=fpm
2929
3030 - name : Run Swoole Tests
31- run : docker compose exec swoole vendor/bin/phpunit --configuration phpunit.xml
31+ run : docker compose exec swoole vendor/bin/phpunit --configuration phpunit.xml --group=swoole
3232
3333 - name : Run Swoole Corotuine Tests
34- run : docker compose exec swoole-coroutine vendor/bin/phpunit --configuration phpunit.xml
34+ run : docker compose exec swoole-coroutine vendor/bin/phpunit --configuration phpunit.xml --group=swoole-coroutine
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ services:
1010 - ./tests:/usr/share/nginx/html/tests
1111 networks :
1212 - testing
13- depends_on :
14- - swoole
1513 swoole :
1614 build :
1715 context : .
Original file line number Diff line number Diff line change 55use PHPUnit \Framework \TestCase ;
66use Tests \E2E \Client ;
77
8+ /**
9+ * @group fpm
10+ * @group e2e
11+ */
812class ResponseFPMTest extends TestCase
913{
1014 use BaseTest;
Original file line number Diff line number Diff line change 55use PHPUnit \Framework \TestCase ;
66use Tests \E2E \Client ;
77
8+ /**
9+ * @group swoole-coroutine
10+ * @group e2e
11+ */
812class ResponseSwooleCoroutineTest extends TestCase
913{
1014 use BaseTest;
Original file line number Diff line number Diff line change 55use PHPUnit \Framework \TestCase ;
66use Tests \E2E \Client ;
77
8+ /**
9+ * @group swoole
10+ * @group e2e
11+ */
812class ResponseSwooleTest extends TestCase
913{
1014 use BaseTest;
You can’t perform that action at this time.
0 commit comments