Skip to content

Commit 3485ef7

Browse files
committed
Update tests workflow
1 parent 2936f97 commit 3485ef7

File tree

1 file changed

+29
-5
lines changed

1 file changed

+29
-5
lines changed

.github/workflows/tests.yml

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ jobs:
1313

1414
strategy:
1515
fail-fast: true
16-
matrix:
17-
php: ['8.1']
1816

19-
name: PHP ${{ matrix.php }}
17+
name: PHP 8.1
2018

2119
steps:
2220
- name: Checkout
@@ -25,7 +23,7 @@ jobs:
2523
- name: Setup PHP
2624
uses: shivammathur/setup-php@v2
2725
with:
28-
php-version: ${{ matrix.php }}
26+
php-version: 8.1
2927
tools: composer
3028
coverage: xdebug
3129

@@ -60,4 +58,30 @@ jobs:
6058
cp build/coverage/clover.xml build/logs/clover.xml
6159
composer global require php-coveralls/php-coveralls
6260
php-coveralls --coverage_clover=build/logs/clover.xml -v
63-
if: matrix.php == '8.1'
61+
62+
tests-last:
63+
runs-on: ubuntu-20.04
64+
timeout-minutes: 10
65+
66+
strategy:
67+
fail-fast: true
68+
69+
name: PHP 8.2 - Last
70+
71+
steps:
72+
- name: Checkout
73+
uses: actions/checkout@v2
74+
75+
- name: Setup PHP
76+
uses: shivammathur/setup-php@v2
77+
with:
78+
php-version: 8.2
79+
tools: composer
80+
coverage: xdebug
81+
82+
- name: Install dependencies
83+
run:
84+
composer update
85+
86+
- name: PHPUnit
87+
run: vendor/bin/phpunit --verbose

0 commit comments

Comments
 (0)