File tree Expand file tree Collapse file tree 4 files changed +39
-39
lines changed Expand file tree Collapse file tree 4 files changed +39
-39
lines changed Original file line number Diff line number Diff line change
1
+ name : MO4 Coding Standard CI
2
+ on :
3
+ pull_request :
4
+ push :
5
+ jobs :
6
+ run-tests :
7
+ strategy :
8
+ matrix :
9
+ php_version :
10
+ - 5.6
11
+ - 7.0
12
+ - 7.1
13
+ - 7.2
14
+ - 7.3
15
+ - 7.4
16
+ - 8.0
17
+ - 8.1
18
+ - 8.2
19
+ - 8.3
20
+ runs-on : ubuntu-latest
21
+ steps :
22
+ - name : Check out repository code
23
+ uses : actions/checkout@v4
24
+ - name : Install PHP
25
+ uses : shivammathur/setup-php@v2
26
+ with :
27
+ php-version : ${{ matrix.php_version }}
28
+ - name : Cache dependencies
29
+ uses : actions/cache@v4
30
+ with :
31
+ path : ' ~/.cache/composer'
32
+ key : " cache-composer-${{ hashFiles('composer.json') }}"
33
+ restore-keys : ' cache-composer-'
34
+ - name : Run composer
35
+ run : composer update --prefer-dist --no-interaction --no-progress
36
+ - name : Run tests
37
+ run : ant test -Dcomposer.path=composer
Original file line number Diff line number Diff line change 1
1
cache.properties
2
2
phpunit.xml
3
+ .phpunit.result.cache
3
4
composer.lock
4
5
composer.phar
5
6
vendor /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 28
28
"squizlabs/php_codesniffer" : " ^3.3.1"
29
29
},
30
30
"require-dev" : {
31
- "phpunit/phpunit" : " ^5.0 || ^6.0 || ^7.0"
31
+ "phpunit/phpunit" : " ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4 "
32
32
},
33
33
"conflict" : {
34
34
"squizlabs/php_codesniffer" : " <3 || >=4"
You can’t perform that action at this time.
0 commit comments