"Docker Compose" based CI and testing for MediaWiki extensions, built from mediawiki-ci images.
# 1 — add as submodule (once)
git submodule add https://github.com/gesinn-it-pub/docker-compose-ci.git build
# 2 — run the full CI suite
make ciSee the GitHub Actions CI and Local Development guides for detailed workflows.
git submodule add https://github.com/gesinn-it-pub/docker-compose-ci.git buildgit clone --recursive <REPO>
# or, after a plain clone:
git submodule init && git submodule updategit submodule update --init --remote| Target | Description |
|---|---|
|
Full CI suite: build image, install MW, run all tests. Use in GitHub Actions and as the authoritative local gate. |
|
Like |
|
(Re-)build image and reinstall MW without running tests. Required once per session when using volume mounts (see dev guide). |
|
Stop and remove containers. Images are also removed. |
|
Open a shell inside the running wiki container. |
| Variable | Description |
|---|---|
|
Name of the extension under test (must match the directory name in |
|
MediaWiki version for the Docker image. |
|
PHP version for the Docker image. |
|
Database type: |
|
Database Docker image, e.g. |
|
Set to |
|
Set to |
|
Space-separated list of PHP extensions to install via |
|
Space-separated list of apt packages to install (e.g. |
| Extension | Variable |
|---|---|
AdminLinks |
|
ApprovedRevs |
|
Chameleon |
|
DisplayTitle |
|
Echo |
|
Lingo |
|
Maps |
|
Mermaid |
|
PageForms |
|
PageSchemas |
|
Scribunto |
|
SemanticMediaWiki |
|
SemanticResultFormats |
|
-
GitHub Actions CI — matrix workflow, coverage, phan
-
Local Development — volume mounts, fast iteration, pre-commit gate