This repository was archived by the owner on Nov 2, 2025. It is now read-only.
Cleanup and make phan strict #242
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Call reusable MediaWiki tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| call-mediawiki-tests-workflow: | |
| uses: miraheze/.github/.github/workflows/mediawiki-tests.yml@main | |
| strategy: | |
| matrix: | |
| include: | |
| # Latest MediaWiki stable - PHP 8.2 | |
| - mw: 'REL1_43' | |
| php: 8.2 | |
| php-docker: 82 | |
| composer-test: true | |
| coverage: true | |
| experimental-phan: false | |
| experimental-phpunit: false | |
| # Latest MediaWiki beta - PHP 8.2 | |
| - mw: 'REL1_44' | |
| php: 8.2 | |
| php-docker: 82 | |
| composer-test: false | |
| coverage: false | |
| experimental-phan: true | |
| experimental-phpunit: false | |
| # Latest MediaWiki master - PHP 8.2 | |
| - mw: 'master' | |
| php: 8.2 | |
| php-docker: 82 | |
| composer-test: false | |
| coverage: false | |
| experimental-phan: true | |
| experimental-phpunit: true | |
| with: | |
| mw: ${{ matrix.mw }} | |
| php: ${{ matrix.php }} | |
| php-docker: ${{ matrix.php-docker }} | |
| experimental-phan: ${{ matrix.experimental-phan }} | |
| experimental-phpunit: ${{ matrix.experimental-phpunit }} | |
| composer-test: ${{ matrix.composer-test }} | |
| coverage: ${{ matrix.coverage }} | |
| secrets: inherit | |
| notify-irc: | |
| needs: call-mediawiki-tests-workflow | |
| runs-on: ubuntu-latest | |
| if: ${{ always() && github.repository_owner == 'miraheze' && ( github.ref == 'refs/heads/main' || github.event_name == 'pull_request' ) }} | |
| steps: | |
| - name: succeeded | |
| uses: technote-space/workflow-conclusion-action@v3 | |
| - uses: rectalogic/notify-irc@v2 | |
| if: env.WORKFLOW_CONCLUSION == 'success' | |
| with: | |
| channel: "#miraheze-tech-ops" | |
| server: "irc.libera.chat" | |
| nickname: miraheze-github | |
| message: ${{ github.repository }} - ${{ github.actor }} the build passed. | |
| sasl_password: ${{ secrets.IRC_MIRAHEZEBOTS }} | |
| - name: failed | |
| uses: technote-space/workflow-conclusion-action@v3 | |
| - uses: rectalogic/notify-irc@v2 | |
| if: env.WORKFLOW_CONCLUSION == 'failure' | |
| with: | |
| channel: "#miraheze-tech-ops" | |
| server: "irc.libera.chat" | |
| nickname: miraheze-github | |
| message: ${{ github.repository }} - ${{ github.actor }} the build has errored. | |
| sasl_password: ${{ secrets.IRC_MIRAHEZEBOTS }} |