File tree Expand file tree Collapse file tree 1 file changed +41
-2
lines changed
Expand file tree Collapse file tree 1 file changed +41
-2
lines changed Original file line number Diff line number Diff line change @@ -24,20 +24,59 @@ concurrency:
2424
2525jobs :
2626 tests :
27- name : " Tests"
27+ name : " Tests PHPUnit 12.x "
2828 runs-on : ${{ matrix.operating-system }}
2929 timeout-minutes : 60
3030
3131 strategy :
3232 fail-fast : false
3333 matrix :
3434 php-version :
35- - " 8.2"
3635 - " 8.3"
3736 - " 8.4"
3837 - " 8.5"
3938 operating-system : [ ubuntu-latest, windows-latest ]
4039
40+ steps :
41+ - name : " Checkout"
42+ uses : actions/checkout@v4
43+
44+ - name : " Install PHP"
45+ uses : " shivammathur/setup-php@v2"
46+ with :
47+ coverage : " none"
48+ php-version : " ${{ matrix.php-version }}"
49+ tools : pecl
50+ extensions : ds,mbstring
51+ ini-file : development
52+ ini-values : memory_limit=-1
53+
54+ - uses : " ramsey/composer-install@v3"
55+
56+ - name : " Upgrade PHPUnit 12"
57+ shell : bash
58+ run : |
59+ composer require --dev phpunit/phpunit:^12 brianium/paratest:^7.16 --update-with-dependencies --ignore-platform-reqs --working-dir=tests
60+ composer require --dev phpunit/phpunit:^12 sebastian/diff --update-with-dependencies --ignore-platform-reqs
61+
62+ - name : " Check PHP configuration"
63+ run : " vendor/bin/phpunit --check-php-configuration"
64+
65+ - name : " Tests"
66+ run : " make tests"
67+
68+ tests-82 :
69+ name : " Tests PHPUnit 11.x"
70+ runs-on : ${{ matrix.operating-system }}
71+ timeout-minutes : 60
72+
73+ strategy :
74+ fail-fast : false
75+ matrix :
76+ php-version :
77+ - " 8.2"
78+ operating-system : [ ubuntu-latest, windows-latest ]
79+
4180 steps :
4281 - name : " Checkout"
4382 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments