Skip to content

Commit 09c18b3

Browse files
committed
Run CI on PHP 8.5.
1 parent d41c2f9 commit 09c18b3

File tree

3 files changed

+39
-47
lines changed

3 files changed

+39
-47
lines changed

.github/workflows/phpstan.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Quality assurance
3+
on:
4+
push:
5+
branches: ['master']
6+
pull_request: ~
7+
8+
jobs:
9+
phpunit:
10+
name: PHPUnit tests on ${{ matrix.php }} ${{ matrix.composer-flags }}
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
php: [ '8.1', '8.2', '8.3', '8.4', '8.5' ]
15+
phpunit-flags: [ '--coverage-text' ]
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: ${{ matrix.php }}
21+
coverage: xdebug
22+
tools: composer:v2
23+
- run: composer install --no-progress
24+
- run: vendor/bin/phpunit ${{ matrix.phpunit-flags }}
25+
phpstan:
26+
name: PHPStan checks on ${{ matrix.php }}
27+
runs-on: ubuntu-latest
28+
strategy:
29+
matrix:
30+
php: [ '8.1', '8.2', '8.3', '8.4', '8.5' ]
31+
steps:
32+
- uses: actions/checkout@v2
33+
- uses: shivammathur/setup-php@v2
34+
with:
35+
php-version: ${{ matrix.php }}
36+
coverage: xdebug
37+
tools: composer:v2
38+
- run: composer install --no-progress
39+
- run: vendor/bin/phpstan

.github/workflows/testing.yaml

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

0 commit comments

Comments
 (0)