File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 7070 env :
7171 SLACK_TOKEN : ${{ secrets.SLACK_TOKEN }}
7272 SLACK_TEST_CHANNEL : ${{ secrets.SLACK_TEST_CHANNEL }}
73- CI : ${{ vars.CI }}
73+ CI : true
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public function testAllCursorPaginationMethodExists()
6363 $ method = lcfirst (str_replace ('iterate ' , '' , $ methodName ));
6464
6565 if ($ _SERVER ['CI ' ] ?? false ) {
66- sleep (5 ); // @see https://github.com/jolicode/slack-php-api/issues/163
66+ sleep (10 ); // @see https://github.com/jolicode/slack-php-api/issues/163
6767 }
6868
6969 $ responseFromMethod = $ client ->{$ method }($ this ->argumentsForCursorPaginationRequest ($ method , $ client ));
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ protected function createClient(?string $token = null): Client
3131 // On GitHub Action, we get rate limit issues with Slack API calls because tests are run in parallel
3232 // This "sleep" method tries to share the load.
3333 if ($ _SERVER ['CI ' ] ?? false ) {
34- sleep (5 ); // @see https://github.com/jolicode/slack-php-api/issues/163
34+ sleep (10 ); // @see https://github.com/jolicode/slack-php-api/issues/163
3535 }
3636
3737 return ClientFactory::create (null === $ token ? $ _SERVER ['SLACK_TOKEN ' ] : $ token );
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public function testItCanPostAMessageAndThenAThreadResponse(): void
8989 ]);
9090
9191 if ($ _SERVER ['CI ' ] ?? false ) {
92- sleep (5 ); // @see https://github.com/jolicode/slack-php-api/issues/163
92+ sleep (10 ); // @see https://github.com/jolicode/slack-php-api/issues/163
9393 }
9494
9595 $ response2 = $ client ->chatPostMessage ([
@@ -155,9 +155,9 @@ public function testItCanMarkConversation(): void
155155 $ ts = $ response ->getTs ();
156156
157157 if ($ _SERVER ['CI ' ] ?? false ) {
158- sleep (5 ); // @see https://github.com/jolicode/slack-php-api/issues/163
158+ sleep (10 ); // @see https://github.com/jolicode/slack-php-api/issues/163
159159 }
160-
160+
161161 $ markResponse = $ client ->conversationsMark ([
162162 'channel ' => $ _SERVER ['SLACK_TEST_CHANNEL ' ],
163163 'ts ' => $ ts ,
You can’t perform that action at this time.
0 commit comments