Skip to content

Issue 13 - update CI, add support for MW 1.40 and above #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 26 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,42 @@ jobs:
strategy:
matrix:
include:
- mediawiki_version: '1.35'
php_version: 7.4
- mediawiki_version: '1.39'
php_version: 8.1
chameleon_version: 4.2.1
database_type: mysql
database_image: "mysql:5.7"
database_image: "mysql:8"
coverage: false
experimental: false
- mediawiki_version: '1.40'
php_version: 8.1
chameleon_version: 4.2.1
database_type: mysql
database_image: "mysql:8"
coverage: true
experimental: false
- mediawiki_version: '1.39'
- mediawiki_version: '1.41'
php_version: 8.1
chameleon_version: 4.2.1
database_type: mysql
database_image: "mysql:8"
coverage: false
experimental: false

- mediawiki_version: '1.42'
php_version: 8.2
chameleon_version: 4.2.1
database_type: mysql
database_image: "mysql:8"
coverage: false
experimental: false
- mediawiki_version: '1.43'
php_version: 8.2
chameleon_version: 4.2.1
database_type: mysql
database_image: "mysql:8"
coverage: false
experimental: false

env:
MW_VERSION: ${{ matrix.mediawiki_version }}
CHAMELEON_VERSION: ${{ matrix.chameleon_version }}
Expand Down
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-include .env-39
-include .env
export

# setup for docker-compose-ci build directory
Expand All @@ -11,10 +11,10 @@ endif
EXTENSION := ConfIDentSkin

# docker images
MW_VERSION?=1.35
PHP_VERSION?=7.4
DB_TYPE?=sqlite
DB_IMAGE?=""
MW_VERSION?=1.39
PHP_VERSION?=8.1
DB_TYPE?=mysql
DB_IMAGE?="mysql:8"

# extensions
CHAMELEON_VERSION?=4.2.1
Expand Down
2 changes: 1 addition & 1 deletion build
Submodule build updated 0 files
2 changes: 2 additions & 0 deletions tests/node-qunit/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ function createDom() {
global.window = dom.window;
global.document = window.document;
global.Node = window.Node;
global.HTMLElement = dom.window.HTMLElement;
global.customElements = dom.window.customElements;
global.$ = global.jQuery = require('../../../../resources/lib/jquery/jquery.js');

return () => {
Expand Down