Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
malberts authored Feb 25, 2025
1 parent fd465d1 commit cd438a2
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,32 @@ on:
jobs:
test:
name: "PHPUnit: MW ${{ matrix.mw }}, PHP ${{ matrix.php }}"
continue-on-error: ${{ matrix.experimental }}

strategy:
matrix:
include:
- mw: 'REL1_35'
php: 7.4
experimental: false
- mw: 'REL1_38'
php: 8.0
experimental: false
- mw: 'REL1_39'
php: 8.0
- mw: 'master'
experimental: false
- mw: 'REL1_41'
php: 8.1
experimental: false
- mw: 'REL1_42'
php: 8.2
experimental: false
- mw: 'REL1_43'
php: 8.3
experimental: false
- mw: 'master'
php: 8.4
experimental: true

runs-on: ubuntu-latest

Expand All @@ -34,11 +48,11 @@ jobs:
with:
php-version: ${{ matrix.php }}
extensions: mbstring, intl
tools: composer:2.1.14
tools: composer

- name: Cache MediaWiki
id: cache-mediawiki
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
mediawiki
Expand All @@ -47,12 +61,12 @@ jobs:
key: mw_${{ matrix.mw }}-php${{ matrix.php }}

- name: Cache Composer cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.composer/cache
key: composer-php${{ matrix.php }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: EarlyCopy

Expand All @@ -61,7 +75,7 @@ jobs:
working-directory: ~
run: bash EarlyCopy/.github/workflows/installWiki.sh ${{ matrix.mw }} FontAwesome

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: mediawiki/extensions/FontAwesome

Expand Down

0 comments on commit cd438a2

Please sign in to comment.