Skip to content

Commit 41e73a5

Browse files
authored
Merge pull request #212 from clue-labs/update-tests
Test on PHP 8.2 and update test environment
2 parents d488170 + e27f121 commit 41e73a5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ on:
66

77
jobs:
88
PHPUnit:
9-
runs-on: ubuntu-20.04
9+
name: PHPUnit (PHP ${{ matrix.php }})
10+
runs-on: ubuntu-22.04
1011
strategy:
1112
matrix:
1213
php:
14+
- 8.2
1315
- 8.1
1416
- 8.0
1517
- 7.4
@@ -22,10 +24,11 @@ jobs:
2224
- 5.4
2325
- 5.3
2426
steps:
25-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v3
2628
- uses: shivammathur/setup-php@v2
2729
with:
2830
php-version: ${{ matrix.php }}
31+
coverage: xdebug
2932
- run: composer install
3033
- run: vendor/bin/phpunit --coverage-text
3134
if: ${{ matrix.php >= 7.3 }}

phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@
1717
<directory>./src/</directory>
1818
</include>
1919
</coverage>
20+
<php>
21+
<ini name="error_reporting" value="-1" />
22+
</php>
2023
</phpunit>

0 commit comments

Comments
 (0)