Skip to content

Commit

Permalink
Merge 7c3f54c into 3a88f26
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Sep 2, 2022
2 parents 3a88f26 + 7c3f54c commit 774f3d3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,18 @@ jobs:

strategy:
matrix:
php-version: ['7.2', '7.3', '7.4', 'latest']
php-version:
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- 'latest'
coverage: ['pcov']
dependencies: ['']
include:
- { php-version: '7.1', coverage: 'xdebug', dependencies: '' }
- { php-version: '8.0', coverage: 'pcov', dependencies: '' }
- { php-version: '8.1', coverage: 'pcov', dependencies: '' }

steps:
- name: Checkout code
Expand Down
3 changes: 2 additions & 1 deletion tests/StandardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
use function Pipeline\map;
use Pipeline\Standard;
use function range;

use ReflectionClass;

/**
Expand Down Expand Up @@ -167,7 +168,7 @@ public function testReduceFloat(): void

$result = $pipeline->reduce();

$this->assertSame(55 * 1.05, $result);
$this->assertEqualsWithDelta(55 * 1.05, $result, 0.0001);
}

public function testReduceArrays(): void
Expand Down

0 comments on commit 774f3d3

Please sign in to comment.