mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-12 17:29:30 +02:00
`make test` now uses a volume to mount the directory containing the code into the Docker container that is used for unit-testing. It is no longer necessary to rebuild the container every time the code is changed.
12 lines
407 B
Makefile
12 lines
407 B
Makefile
.PHONY: test
|
|
|
|
test:
|
|
# With MW version 1.34, there is one test that is expected to fail
|
|
# because linking on page save no longer works with MediaWiki 1.32
|
|
# and newer. The test that is expected to fail is:
|
|
# ExtensionTest::testParseOnEdit with data set #0
|
|
docker run -it -v `pwd`:/var/www/html/extensions/LinkTitles --rm bovender/linktitles
|
|
|
|
build-test-container:
|
|
docker build -t bovender/linktitles .
|