mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-18 11:10:29 +00:00
CI: Add REL1_37 tests (#28)
This commit is contained in:
parent
16d1f4744c
commit
0fe6aa6855
10
.github/workflows/mediawiki-tests.yml
vendored
10
.github/workflows/mediawiki-tests.yml
vendored
|
@ -22,6 +22,16 @@ jobs:
|
||||||
php: 7.4
|
php: 7.4
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
|
|
||||||
|
# Latest MediaWiki release branch - PHP 7.3
|
||||||
|
- mw: 'REL1_37'
|
||||||
|
php: 7.3
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
# Latest MediaWiki release branch - PHP 7.4
|
||||||
|
- mw: 'REL1_37'
|
||||||
|
php: 7.4
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
# Latest MediaWiki master - PHP 7.3
|
# Latest MediaWiki master - PHP 7.3
|
||||||
- mw: 'master'
|
- mw: 'master'
|
||||||
php: 7.3
|
php: 7.3
|
||||||
|
|
15
.github/workflows/phpunit-tests.yml
vendored
15
.github/workflows/phpunit-tests.yml
vendored
|
@ -24,6 +24,18 @@ jobs:
|
||||||
mysql: '5.7'
|
mysql: '5.7'
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
|
|
||||||
|
# Latest MediaWiki release branch - PHP 7.3
|
||||||
|
- mw: 'REL1_37'
|
||||||
|
php: 7.3
|
||||||
|
mysql: '5.7'
|
||||||
|
continue-on-error: false
|
||||||
|
|
||||||
|
# Latest MediaWiki release branch - PHP 7.4
|
||||||
|
- mw: 'REL1_37'
|
||||||
|
php: 7.4
|
||||||
|
mysql: '5.7'
|
||||||
|
continue-on-error: false
|
||||||
|
|
||||||
# Latest MW master - PHP 7.3
|
# Latest MW master - PHP 7.3
|
||||||
- mw: 'master'
|
- mw: 'master'
|
||||||
php: 7.3
|
php: 7.3
|
||||||
|
@ -102,9 +114,10 @@ jobs:
|
||||||
- name: Run PHPUnit
|
- name: Run PHPUnit
|
||||||
continue-on-error: ${{ matrix.continue-on-error }}
|
continue-on-error: ${{ matrix.continue-on-error }}
|
||||||
run: |
|
run: |
|
||||||
[[ '${{ matrix.mw }}' != 'master' ]] && PHPUNIT_ARGS='--use-normal-tables' || PHPUNIT_ARGS=''
|
[[ '${{ matrix.mw }}' != 'master' && '${{ matrix.mw }}' != 'REL1_37' ]] && PHPUNIT_ARGS='--use-normal-tables' || PHPUNIT_ARGS=''
|
||||||
php tests/phpunit/phpunit.php $PHPUNIT_ARGS extensions/PortableInfobox/tests/phpunit
|
php tests/phpunit/phpunit.php $PHPUNIT_ARGS extensions/PortableInfobox/tests/phpunit
|
||||||
# php tests/phpunit/phpunit.php tests/phpunit/includes/Storage/PageUpdaterTest.php
|
# php tests/phpunit/phpunit.php tests/phpunit/includes/Storage/PageUpdaterTest.php
|
||||||
|
|
||||||
|
# In MediaWiki 1.37.0+ this is now an environmental variable
|
||||||
env:
|
env:
|
||||||
PHPUNIT_USE_NORMAL_TABLES: 1
|
PHPUNIT_USE_NORMAL_TABLES: 1
|
||||||
|
|
Loading…
Reference in a new issue