File tree Expand file tree Collapse file tree 3 files changed +46
-18
lines changed
Expand file tree Collapse file tree 3 files changed +46
-18
lines changed Original file line number Diff line number Diff line change 11.gitattributes export-ignore
2+ .github / export-ignore
23.gitignore export-ignore
34.phpcs.xml export-ignore
4- .scrutinizer.yml export-ignore
5- .travis.yml export-ignore
65composer.json export-ignore
76package.json export-ignore
8- docs / export-ignore
97phpunit.xml.dist export-ignore
108tests / export-ignore
Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ - push
5+ - pull_request
6+
7+ jobs :
8+
9+ php :
10+ name : PHP ${{ matrix.php }}
11+
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ include :
16+ # Includes php7.4 - 8.3 and composer 2
17+ # https://github.com/actions/runner-images/blob/releases/ubuntu20/20241023/images/ubuntu/Ubuntu2004-Readme.md#php-tools
18+ - php : ' 7.4'
19+ os : ubuntu-20.04
20+ - php : ' 8.0'
21+ os : ubuntu-20.04
22+ - php : ' 8.1'
23+ os : ubuntu-20.04
24+ - php : ' 8.2'
25+ os : ubuntu-20.04
26+ - php : ' 8.3'
27+ os : ubuntu-20.04
28+
29+ runs-on : ${{ matrix.os }}
30+
31+ steps :
32+ - name : Checkout
33+ uses : actions/checkout@v2
34+
35+ - name : Use PHP ${{ matrix.php }}
36+ run : sudo update-alternatives --set php /usr/bin/php${{ matrix.php }}
37+
38+ - name : Validate composer.json and composer.lock
39+ run : composer validate
40+
41+ - name : Install dependencies
42+ run : composer install --prefer-dist --no-progress --no-suggest
43+
44+ - name : Test
45+ run : composer test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments