@@ -3,68 +3,13 @@ name: CI
33on : [push]
44
55jobs :
6- old :
7- name : PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
8- runs-on : ${{ matrix.operating-system }}
9- strategy :
10- matrix :
11- operating-system : ['ubuntu-latest']
12- php-versions : ['7.0']
13- phpunit-versions : ['6.5.14']
14- steps :
15- - name : Checkout
16- uses : actions/checkout@v4
17-
18- - name : Setup PHP
19- uses : shivammathur/setup-php@v2
20- with :
21- php-version : ${{ matrix.php-versions }}
22- extensions : mbstring, intl
23- ini-values : post_max_size=256M, max_execution_time=180
24- tools : psalm, phpunit:${{ matrix.phpunit-versions }}
25-
26- - name : Install dependencies
27- run : composer self-update; composer install
28-
29- - name : PHPUnit tests
30- run : vendor/bin/phpunit
31-
32- moderate :
33- name : PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
34- runs-on : ${{ matrix.operating-system }}
35- strategy :
36- matrix :
37- operating-system : ['ubuntu-latest']
38- php-versions : ['7.1', '7.2', '7.3']
39- phpunit-versions : ['latest']
40- steps :
41- - name : Checkout
42- uses : actions/checkout@v4
43-
44- - name : Setup PHP
45- uses : shivammathur/setup-php@v2
46- with :
47- php-version : ${{ matrix.php-versions }}
48- extensions : mbstring, intl, sodium
49- ini-values : post_max_size=256M, max_execution_time=180
50- tools : psalm, phpunit:${{ matrix.phpunit-versions }}
51-
52- - name : Install dependencies
53- run : composer install
54-
55- - name : Modernize dependencies
56- run : composer require --dev "phpunit/phpunit:>=4"
57-
58- - name : PHPUnit tests
59- run : vendor/bin/phpunit
60-
616 modern :
627 name : PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
638 runs-on : ${{ matrix.operating-system }}
649 strategy :
6510 matrix :
6611 operating-system : ['ubuntu-latest']
67- php-versions : ['7.4', '8.0', ' 8.1', '8.2', '8.3', '8.4', '8.5']
12+ php-versions : ['8.1', '8.2', '8.3', '8.4', '8.5']
6813 phpunit-versions : ['latest']
6914 steps :
7015 - name : Checkout
0 commit comments