@@ -3,68 +3,13 @@ name: CI
3
3
on : [push, pull_request]
4
4
5
5
jobs :
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 : phpunit:${{ matrix.phpunit-versions }}
25
-
26
- - name : Install dependencies
27
- run : composer self-update --1; composer install
28
-
29
- - name : PHPUnit tests
30
- run : 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 : ['7.5.20']
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:4, phpunit:${{ matrix.phpunit-versions }}
51
-
52
- - name : Install dependencies
53
- run : composer install
54
-
55
- - name : PHPUnit tests
56
- run : phpunit
57
-
58
- - name : Static Analysis
59
- run : psalm --output-format=github
60
-
61
6
modern :
62
7
name : PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
63
8
runs-on : ${{ matrix.operating-system }}
64
9
strategy :
65
10
matrix :
66
11
operating-system : ['ubuntu-latest']
67
- php-versions : ['7.4 ', '8.0 ', '8.1 ', '8.2 ', '8.3 ']
12
+ php-versions : ['8.0 ', '8.1 ', '8.2 ', '8.3 ', '8.4 ']
68
13
phpunit-versions : ['latest']
69
14
steps :
70
15
- name : Checkout
0 commit comments