@@ -3,41 +3,40 @@ name: CI
33on : [push, pull_request]
44
55jobs :
6- build-test :
7- runs-on : ubuntu-latest
8- strategy :
9- matrix :
10- php_version : [8.0, 8.1, 8.2]
11- composer_flags : ['', '--prefer-lowest']
12-
13- steps :
14- - uses : actions/checkout@v2
15-
16- - name : Setup PHP
17- uses : shivammathur/setup-php@v2
18- with :
19- php-version : ${{ matrix.php_version }}
20- extensions : xdebug
21-
22- - uses : php-actions/composer@v5
23- with :
24- php_version : ${{ matrix.php_version }}
25- args : ${{ matrix.composer_flags }}
26- command : update
27-
28- - name : Run tests
29- run : ./vendor/bin/phpunit --coverage-clover ./tests/logs/clover.xml
30- env :
31- XDEBUG_MODE : coverage
32-
33- # - name: Submit coverage to Coveralls
34- # # We use php-coveralls library for this, as the official Coveralls GitHub Action lacks support for clover reports:
35- # # https://github.com/coverallsapp/github-action/issues/15
36- # env:
37- # COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38- # COVERALLS_PARALLEL: true
39- # COVERALLS_FLAG_NAME: ${{ github.job }}-PHP-${{ matrix.php_version }} ${{ matrix.composer_flags }}
40- # run: |
41- # composer global require php-coveralls/php-coveralls
42- # ~/.composer/vendor/bin/php-coveralls -v
43-
6+ build-test :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ php_version : [8.1, 8.2, 8.3, 8.4]
11+ composer_flags : ["", "--prefer-lowest"]
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+
16+ - name : Setup PHP
17+ uses : shivammathur/setup-php@v2
18+ with :
19+ php-version : ${{ matrix.php_version }}
20+ extensions : xdebug
21+
22+ - uses : php-actions/composer@v5
23+ with :
24+ php_version : ${{ matrix.php_version }}
25+ args : ${{ matrix.composer_flags }}
26+ command : update
27+
28+ - name : Run tests
29+ run : ./vendor/bin/phpunit --coverage-clover ./tests/logs/clover.xml
30+ env :
31+ XDEBUG_MODE : coverage
32+
33+ # - name: Submit coverage to Coveralls
34+ # # We use php-coveralls library for this, as the official Coveralls GitHub Action lacks support for clover reports:
35+ # # https://github.com/coverallsapp/github-action/issues/15
36+ # env:
37+ # COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+ # COVERALLS_PARALLEL: true
39+ # COVERALLS_FLAG_NAME: ${{ github.job }}-PHP-${{ matrix.php_version }} ${{ matrix.composer_flags }}
40+ # run: |
41+ # composer global require php-coveralls/php-coveralls
42+ # ~/.composer/vendor/bin/php-coveralls -v
0 commit comments