Skip to content

Commit 78ec415

Browse files
authored
Merge pull request #48 from W0rma/drop-php81
chore(deps): drop support for php 8.1 + simplify the ci
2 parents 4f4d44f + 5b40664 commit 78ec415

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,21 @@ on:
55
jobs:
66
tests:
77
runs-on: ubuntu-latest
8-
continue-on-error: ${{ matrix.experimental }}
98

109
strategy:
1110
matrix:
12-
php: [8.1, 8.2, 8.3, 8.4, 8.5]
13-
experimental: [false]
14-
include:
15-
- php: 8.6
16-
experimental: true
11+
php: [8.2, 8.3, 8.4, 8.5]
1712

1813
steps:
1914
- name: Checkout code
2015
uses: actions/checkout@v6
2116

2217
- name: Setup PHP
23-
if: ${{ matrix.php != '8.5' }}
2418
uses: shivammathur/setup-php@v2
2519
with:
2620
php-version: ${{ matrix.php }}
2721
coverage: none
2822

29-
- name: Setup PHP with register_arg_argv
30-
uses: shivammathur/setup-php@v2
31-
if: ${{ matrix.php == '8.5' }}
32-
with:
33-
php-version: ${{ matrix.php }}
34-
coverage: none
35-
# this ini directive seems to be off by default in PHP 8.5
36-
# see https://github.com/php/php-src/issues/20279
37-
# enable it because codeception relies on it.
38-
ini-values: register_argc_argv=1
39-
4023
- name: Validate composer.json and composer.lock
4124
run: composer validate
4225

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
],
1919
"homepage": "https://codeception.com/",
2020
"require": {
21-
"php": "^8.1",
21+
"php": "^8.2",
2222
"ext-json": "*",
2323
"codeception/codeception": "*@dev",
2424
"codeception/lib-innerbrowser": "*@dev",

0 commit comments

Comments
 (0)