77jobs :
88 tests_linux :
99 name : PHP ${{ matrix.php }} Linux
10- runs-on : ubuntu-22.04
11-
10+ runs-on : ubuntu
1211 strategy :
1312 matrix :
14- php : ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', ' 8.3', '8.4']
13+ php : ['8.3', '8.4']
1514
1615 steps :
1716 - name : Checkout Code
2726 - name : Setup Problem Matchers
2827 run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
2928
30- - name : Install PHP Dependencies
31- uses : nick-invision/retry@v2
32- with :
33- timeout_minutes : 5
34- max_attempts : 5
35- command : composer update --no-interaction --no-progress
36-
37- - name : Execute PHPUnit
38- run : vendor/bin/phpunit
39-
40- tests_windows :
41- name : PHP ${{ matrix.php }} Windows
42- runs-on : windows-2022
43-
44- strategy :
45- matrix :
46- php : ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
47-
48- steps :
49- - name : Configure Git
50- run : |
51- git config --global core.autocrlf false
52- git config --global core.eol lf
53-
54- - name : Checkout Code
55- uses : actions/checkout@v4
56-
57- - name : Setup PHP
58- uses : shivammathur/setup-php@v2
59- with :
60- php-version : ${{ matrix.php }}
61- tools : composer:snapshot
62- coverage : none
63-
64- - name : Setup Problem Matchers
65- run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
66-
67- - name : Install PHP Dependencies
68- uses : nick-invision/retry@v2
69- with :
70- timeout_minutes : 5
71- max_attempts : 5
72- command : composer update --no-interaction --no-progress
73-
29+ - uses : ramsey/composer-install@v3
7430 - name : Execute PHPUnit
75- run : vendor\ bin\ phpunit.bat
31+ run : vendor/ bin/ phpunit
0 commit comments