Skip to content

Commit 458d03a

Browse files
authored
Merge pull request clue#131 from clue-labs/update-tests
Test on PHP 8.2 and update test environment
2 parents 0cae698 + 25622bf commit 458d03a

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ jobs:
1111
strategy:
1212
matrix:
1313
os:
14-
- ubuntu-20.04
15-
- windows-2019
14+
- ubuntu-22.04
15+
- windows-2022
1616
php:
17+
- 8.2
1718
- 8.1
1819
- 8.0
1920
- 7.4
@@ -26,7 +27,7 @@ jobs:
2627
- 5.4
2728
- 5.3
2829
steps:
29-
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v3
3031
- uses: shivammathur/setup-php@v2
3132
with:
3233
php-version: ${{ matrix.php }}
@@ -40,7 +41,7 @@ jobs:
4041
- run: composer require symfony/console:^6.0 --dry-run --working-dir=tests/install-as-dep
4142
if: ${{ matrix.php >= 8.0 }}
4243
- run: composer require symfony/console:^5.0 --dry-run --working-dir=tests/install-as-dep
43-
if: ${{ matrix.php >= 7.2 && (matrix.php < 8.0 || matrix.os != 'windows-2019') }}
44+
if: ${{ matrix.php >= 7.2 && (matrix.php < 8.0 || matrix.os != 'windows-2022') }}
4445
- run: composer require symfony/console:^4.0 --dry-run --working-dir=tests/install-as-dep
4546
if: ${{ matrix.php >= 7.1 && matrix.php < 8.0 }}
4647
- run: composer require symfony/console:^3.0 --dry-run --working-dir=tests/install-as-dep

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="tests/bootstrap.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)