Skip to content

Commit 754eefd

Browse files
authored
Update test to run PHP 8+
Coveralls reporting for 8.3
1 parent dd98864 commit 754eefd

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
php-version: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
12+
php-version: ['8.1','8.2','8.3']
1313
composer-prefer:
1414
- '--prefer-dist'
1515
- '--prefer-stable --prefer-lowest'
1616

1717
name: Test PHP ${{ matrix.php-version }} / composer ${{matrix.composer-prefer}}
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v5
2121

2222
- name: Setup PHP version ${{ matrix.php-version }}
2323
uses: shivammathur/setup-php@v2
@@ -45,7 +45,6 @@ jobs:
4545
4646
- name: Run Code Style Check for PHP ${{ matrix.php-version }}
4747
run: composer run-script style-check
48-
if: matrix.php-version != '7.1'
4948

5049
- name: Run tests for PHP ${{ matrix.php-version }}
5150
run: composer run-script test
@@ -56,4 +55,4 @@ jobs:
5655
run: vendor/bin/php-coveralls
5756
env:
5857
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59-
if: success() && matrix.php-version == '7.4'
58+
if: success() && matrix.php-version == '8.3'

0 commit comments

Comments
 (0)