2222 Path ,
2323};
2424use Innmind \Immutable \Sequence ;
25- use Innmind \BlackBox \Set ;
25+ use Innmind \BlackBox \{
26+ Set ,
27+ Tag ,
28+ };
2629
2730return static function () {
2831 yield test (
@@ -48,7 +51,7 @@ static function($assert) {
4851 ->inMoreThan ()
4952 ->seconds (1 );
5053 },
51- );
54+ )-> tag (Tag::local, Tag::ci) ;
5255
5356 yield proof (
5457 'Carry value via the scope ' ,
@@ -80,7 +83,7 @@ static function($assert, $initial, $modified) {
8083 );
8184 $ assert ->same ($ modified , $ returned );
8285 },
83- );
86+ )-> tag (Tag::local, Tag::ci) ;
8487
8588 yield proof (
8689 'Retrieve the tasks results ' ,
@@ -101,7 +104,7 @@ static function($assert, $value) {
101104 );
102105 $ assert ->same ([$ value ], $ values ->toList ());
103106 },
104- );
107+ )-> tag (Tag::local, Tag::ci) ;
105108
106109 yield test (
107110 'The scope is run asynchronously ' ,
@@ -145,7 +148,7 @@ static function($os) {
145148 ->inMoreThan ()
146149 ->seconds (2 );
147150 },
148- );
151+ )-> tag (Tag::local, Tag::ci) ;
149152
150153 yield test (
151154 'The scope and tasks are run asynchronously ' ,
@@ -201,7 +204,7 @@ static function($os) use (&$results) {
201204 ->inMoreThan ()
202205 ->seconds (2 );
203206 },
204- );
207+ )-> tag (Tag::local, Tag::ci) ;
205208
206209 yield test (
207210 'The scope and tasks are run asynchronously in different order ' ,
@@ -258,7 +261,7 @@ static function($os) use (&$results) {
258261 ->inMoreThan ()
259262 ->seconds (2 );
260263 },
261- );
264+ )-> tag (Tag::local, Tag::ci) ;
262265
263266 yield test (
264267 'Streams read by lines are handled asynchronously ' ,
@@ -337,7 +340,7 @@ static function($os) use ($assert, &$lines) {
337340 $ lines ,
338341 );
339342 },
340- );
343+ )-> tag (Tag::local, Tag::ci) ;
341344
342345 yield test (
343346 'Streams read by chunks are handled asynchronously ' ,
@@ -401,7 +404,7 @@ static function($os) use ($assert, &$chunks) {
401404 $ chunks ,
402405 );
403406 },
404- );
407+ )-> tag (Tag::local, Tag::ci) ;
405408
406409 yield test (
407410 'HTTP requests are handled asynchronously ' ,
@@ -451,7 +454,7 @@ static function($os) use ($assert, &$order) {
451454 $ order ,
452455 );
453456 },
454- );
457+ )-> tag (Tag::local) ;
455458
456459 yield test (
457460 'Discard results ' ,
@@ -471,7 +474,7 @@ static function($assert) {
471474
472475 $ assert ->same (0 , $ results ->size ());
473476 },
474- );
477+ )-> tag (Tag::local, Tag::ci) ;
475478
476479 yield proof (
477480 'Limit concurrency ' ,
@@ -505,7 +508,7 @@ static function($assert, $tasks, $max) {
505508 ((int ) \ceil ($ tasks / $ max )) + 1 ,
506509 );
507510 },
508- );
511+ )-> tag (Tag::local, Tag::ci) ;
509512
510513 yield test (
511514 'Abort tasks ' ,
@@ -562,5 +565,5 @@ static function() use (&$continue) {
562565 ->inMoreThan ()
563566 ->seconds (1 );
564567 },
565- );
568+ )-> tag (Tag::local, Tag::ci) ;
566569};
0 commit comments