File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 fail-fast : false
1414 matrix :
1515 include :
16- - mw : ' REL1_39'
17- php : 8.1
18- experimental : false
1916 - mw : ' REL1_43'
2017 php : 8.3
2118 experimental : false
@@ -74,16 +71,13 @@ jobs:
7471 - name : Run update.php
7572 run : php maintenance/update.php --quick
7673
77- - name : Run PHPUnit
74+ - name : Run PHPUnit (MW < master)
75+ if : matrix.mw != 'master'
7876 run : php tests/phpunit/phpunit.php -c extensions/ExternalContent/
7977
80- - name : Run PHPUnit with code coverage
81- run : php tests/phpunit/phpunit.php -c extensions/ExternalContent/ --coverage-clover coverage.xml
82- if : matrix.mw == 'master'
83-
84- - name : Upload code coverage
85- run : bash <(curl -s https://codecov.io/bash)
78+ - name : Run PHPUnit (MW master)
8679 if : matrix.mw == 'master'
80+ run : composer phpunit -- -c extensions/ExternalContent/
8781
8882 - name : Run parser tests
8983 run : php tests/parser/parserTests.php --file=extensions/ExternalContent/tests/parser/parserTests.txt
Original file line number Diff line number Diff line change 1313 "descriptionmsg" : " external-content-desc" ,
1414
1515 "requires" : {
16- "MediaWiki" : " >= 1.39 .0" ,
16+ "MediaWiki" : " >= 1.43 .0" ,
1717 "platform" : {
1818 "php" : " >= 8.0"
1919 }
You can’t perform that action at this time.
0 commit comments