Image to run automatic tests against desired Magento 2 versions.
Supported tests type:
This repo uses Multiplicator python script to produce multiple Dockerfiles and build environments from the initial directory structure containing static assets and Jinja2 templates.
Initial directory structure should be under the skeletons directory.
Built items are placed into the out directory.
See https://github.com/m4x0nus/Multiplicator for more details.
legacy directory is used to keep outdated Magento versions to be able to build them manually.
config.yaml file by adding new magento version to the out list in this filedocker run --rm -u $(id -u ${USER}):$(id -g ${USER}) -v ${PWD}:/data m4x0nus/multiplicator update -d /data -c /data/config.yaml
master branch to trigger buildThis image can be run agains folder with Magento 2 extension extension
Run unit tests on extension folder against Magento 2.3 and PHP 7.2
docker run -v /local/folder/with/module:/data aheadworks/m2test:2.3-7.2 unit /data
Run static tests and collect test results in JUnit format
docker run -v /local/folder/with/module:/data -v /local/folder/for/results:/results aheadworks/m2test:2.2-7.1 static /data /results
Run unit tests and collect test results in JUnit format(result in /local/folder/for/results/unit-tests.xml
docker run -v /local/folder/with/module:/data -v /local/folder/for/results:/results aheadworks/m2test:2.2-7.1 unit /data /results/unit-tests.xml
Run tests from Magento coding standard versus your extension
docker run -v /local/folder/with/module:/data aheadworks/m2test:2.3-7.2 eqp --report=full /data
docker run -v /local/folder/with/module_zip:/data aheadworks/m2test validate_m2_package /data/module-name.zip
Content type
Image
Digest
sha256:c0e88da4e…
Size
336.6 MB
Last updated
4 months ago
docker pull aheadworks/m2test-new:2.4.8-p5-with-db-8.3