mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-28 02:00:25 +00:00
parent
303e4e8159
commit
42f0f60d65
8
.github/workflows/mediawiki-tests.yml
vendored
8
.github/workflows/mediawiki-tests.yml
vendored
|
@ -346,12 +346,6 @@ jobs:
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
tools: composer:v2
|
|
||||||
|
|
||||||
- name: Composer install
|
|
||||||
if: ${{ matrix.stage == 'phan' }}
|
|
||||||
run: |
|
|
||||||
composer install --prefer-dist --no-progress --no-interaction # $GITHUB_WORKSPACE
|
|
||||||
|
|
||||||
- name: Main Test
|
- name: Main Test
|
||||||
continue-on-error: ${{ matrix.experimental }}
|
continue-on-error: ${{ matrix.experimental }}
|
||||||
|
@ -383,7 +377,7 @@ jobs:
|
||||||
-v "$(pwd)"/src:/mediawiki \
|
-v "$(pwd)"/src:/mediawiki \
|
||||||
"${DOCKER_REGISTRY}/${DOCKER_ORG}/${DOCKER_IMAGE}:${DOCKER_LATEST_TAG}" \
|
"${DOCKER_REGISTRY}/${DOCKER_ORG}/${DOCKER_IMAGE}:${DOCKER_LATEST_TAG}" \
|
||||||
--color
|
--color
|
||||||
elif [ "${{ matrix.stage }}" == 'coverage' ]; then
|
elif [ "${{ matrix.stage }}" == 'coverage' ] && [ -d tests/phpunit ]; then
|
||||||
docker run \
|
docker run \
|
||||||
-e ZUUL_PROJECT=mediawiki/extensions/"${{ github.event.repository.name }}" \
|
-e ZUUL_PROJECT=mediawiki/extensions/"${{ github.event.repository.name }}" \
|
||||||
-v "$(pwd)"/cache:/cache \
|
-v "$(pwd)"/cache:/cache \
|
||||||
|
|
Loading…
Reference in a new issue