Create jobQueueCollector.php #949
Workflow file for this run
This file contains 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: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
call-mediawiki-tests-workflow: | |
uses: miraheze/.github/.github/workflows/mediawiki-tests.yml@master | |
strategy: | |
matrix: | |
include: | |
# Latest Old MediaWiki stable - PHP 7.4 | |
- mw: 'REL1_39' | |
php: 7.4 | |
php-docker: 74 | |
composer-test: true | |
experimental: false | |
# Latest MediaWiki stable - PHP 7.4 | |
- mw: 'REL1_40' | |
php: 7.4 | |
php-docker: 74 | |
composer-test: true | |
experimental: false | |
# Latest MediaWiki master - PHP 7.4 | |
- mw: 'master' | |
php: 7.4 | |
php-docker: 74 | |
experimental: true | |
composer-test: false | |
# Latest MediaWiki master - PHP 8.2 | |
- mw: 'master' | |
php: 8.2 | |
php-docker: 82 | |
experimental: true | |
composer-test: false | |
with: | |
mw: ${{ matrix.mw }} | |
php: ${{ matrix.php }} | |
php-docker: ${{ matrix.php-docker }} | |
experimental: ${{ matrix.experimental }} | |
composer-test: ${{ matrix.composer-test }} | |
secrets: inherit | |
notify-irc: | |
needs: call-mediawiki-tests-workflow | |
runs-on: ubuntu-latest | |
if: ${{ always() && github.repository_owner == 'miraheze' && ( github.ref == 'refs/heads/master' || 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-sre" | |
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-sre" | |
server: "irc.libera.chat" | |
nickname: miraheze-github | |
message: ${{ github.repository }} - ${{ github.actor }} the build has errored. | |
sasl_password: ${{ secrets.IRC_MIRAHEZEBOTS }} |