Skip to content

Commit

Permalink
ci(unit-tests): test on macos
Browse files Browse the repository at this point in the history
Signed-off-by: azjezz <azjezz@protonmail.com>
  • Loading branch information
azjezz committed Nov 10, 2021
1 parent e7d46a5 commit 0b3ff21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
php-version:
- "8.1"
operating-system:
# - "macos-latest"
- "macos-latest"
- "ubuntu-latest"

steps:
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/Async/RunTest.php
Expand Up @@ -43,9 +43,9 @@ public function testRunTimedOut(): void
{
$awaitable = Async\run(static function (): string {
Async\concurrent([
static fn() => Async\sleep(0.00001),
static fn() => Async\sleep(0.00001),
static fn() => Async\sleep(0.00001),
static fn() => Async\sleep(0.01),
static fn() => Async\sleep(0.01),
static fn() => Async\sleep(0.01),
]);

return 'hello';
Expand Down

0 comments on commit 0b3ff21

Please sign in to comment.