Skip to content

Commit 7a934ea

Browse files
committed
Test on PHP8.5, bump deps
1 parent 1bb89e9 commit 7a934ea

File tree

4 files changed

+46
-30
lines changed

4 files changed

+46
-30
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
php-version:
18+
- "8.5"
1819
- "8.4"
1920
- "8.3"
2021
- "8.2"
@@ -127,6 +128,7 @@ jobs:
127128
fail-fast: false
128129
matrix:
129130
php-version:
131+
- "8.5"
130132
- "8.4"
131133
- "8.3"
132134
- "8.2"

behat.dist.php

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
3+
use Behat\Config\Config;
4+
use Behat\Config\Extension;
5+
use Behat\Config\Profile;
6+
use Behat\Config\Suite;
7+
use DVDoug\Behat\CodeCoverage\Extension as CodeCoverageExtension;
8+
9+
return (new Config())
10+
->withProfile((new Profile('default'))
11+
->withExtension(new Extension(CodeCoverageExtension::class, [
12+
'cache' => 'build/php-code-coverage-cache',
13+
'filter' => [
14+
'include' => [
15+
'directories' => [
16+
'src' => null,
17+
],
18+
],
19+
],
20+
'reports' => [
21+
'clover' => [
22+
'target' => 'build/coverage-behat/clover.xml',
23+
],
24+
'html' => [
25+
'target' => 'build/coverage-behat',
26+
],
27+
'text' => [
28+
'showColors' => true,
29+
'showUncoveredFiles' => true,
30+
],
31+
],
32+
]))
33+
->withSuite((new Suite('packer'))
34+
->withContexts('PackerContext')
35+
->withPaths('%paths.base%/features/common'))
36+
->withSuite((new Suite('infallible_packer'))
37+
->withContexts('InfalliblePackerContext')
38+
->withPaths(
39+
'%paths.base%/features/common',
40+
'%paths.base%/features/infallible'
41+
)));

behat.yml.dist

Lines changed: 0 additions & 27 deletions
This file was deleted.

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"psr/log": "^1.0||^2.0||^3.0"
1818
},
1919
"require-dev": {
20-
"behat/behat": "^3.23",
20+
"behat/behat": "^3.27",
2121
"dvdoug/behat-code-coverage": "^5.3",
22-
"friendsofphp/php-cs-fixer": "^3.88.2",
22+
"friendsofphp/php-cs-fixer": "^3.90",
2323
"monolog/monolog": "^3.9",
24-
"phpunit/phpunit": "^11.5||^12.3"
24+
"phpunit/phpunit": "^11.5.44||^12.4.4"
2525
},
2626
"config": {
2727
"preferred-install": {

0 commit comments

Comments
 (0)