Skip to content

Commit e13445f

Browse files
committed
Bump MW requirement to 1.43 and use composer phpunit on master
1 parent 7bf0582 commit e13445f

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ jobs:
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

extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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
}

0 commit comments

Comments
 (0)