diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00605d5..2e8f7bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,7 +105,8 @@ jobs: wget -q -O phpunit.xml.template "https://raw.githubusercontent.com/wikimedia/mediawiki/${{ matrix.mw }}/phpunit.xml.template" fi composer phpunit:config - vendor/bin/phpunit -c phpunit.xml extensions/BootstrapComponents/tests/phpunit/Unit + # Temporary integration-test workaround; see issue #98. + MEDIAWIKI_HAS_INTEGRATION_TESTS=1 vendor/bin/phpunit -c phpunit.xml extensions/BootstrapComponents/tests/phpunit/Unit fi - if: env.TYPE == 'coverage' @@ -119,7 +120,8 @@ jobs: wget -q -O phpunit.xml.template "https://raw.githubusercontent.com/wikimedia/mediawiki/${{ matrix.mw }}/phpunit.xml.template" fi composer phpunit:config - vendor/bin/phpunit -c phpunit.xml extensions/BootstrapComponents/tests/phpunit/Unit --coverage-clover coverage.clover + # Temporary integration-test workaround; see issue #98. + MEDIAWIKI_HAS_INTEGRATION_TESTS=1 vendor/bin/phpunit -c phpunit.xml extensions/BootstrapComponents/tests/phpunit/Unit --coverage-clover coverage.clover fi - if: env.TYPE == 'coverage'