Skip to content

Commit 8a7bba8

Browse files
authored
Merge pull request clue#69 from clue-labs/update-tests
Test on PHP 8.2 and update test environment
2 parents 8397d63 + bb3ceaa commit 8a7bba8

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ on:
77
jobs:
88
PHPUnit:
99
name: PHPUnit (PHP ${{ matrix.php }})
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111
strategy:
1212
matrix:
1313
php:
14+
- 8.2
1415
- 8.1
1516
- 8.0
1617
- 7.4
@@ -23,7 +24,7 @@ jobs:
2324
- 5.4
2425
- 5.3
2526
steps:
26-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v3
2728
- uses: shivammathur/setup-php@v2
2829
with:
2930
php-version: ${{ matrix.php }}

phpunit.xml.dist

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<!-- PHPUnit configuration file with new format for PHPUnit 9.5+ -->
4-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
66
bootstrap="vendor/autoload.php"
77
cacheResult="false"
@@ -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)