Questions tagged [continuous-integration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
156 views

How to test module in different Magento and PHP versions using CI?

I have an open-source module in Github and I'd like to automatically test it via CI using the Magento Coding Standard and different Magento installations in different PHP versions. For example: ...
5
votes
0answers
146 views

How to configure MFTF in Jenkins

In magento2 - Is it possible to configure continuous integration like Jenkins with Magento Functional Test Framework ? We are using bitbucket for our private repositories and Allure for reporting. ...
9
votes
1answer
3k views

How to setup CI on Magento 2 extension using Bitbucket Pipeline?

How can I prepare a CI script to check the syntax and code quality of my extension code? It's not necessary to run Unit Test or Integration Test, I'm using Bitbucket and I would like to use Bitbucket ...
2
votes
1answer
644 views

Magento 2 - PHPUnit using mocking or without mocking?

I am developing an eCommerce web application using magento2. During the development I came to know magento2 useses mockbuilder or mock objects for testing it's modules functionality. Which is fare in ...
1
vote
0answers
85 views

Magento2 - Understanding dev/travis/before_script.sh

I am trying to set up Travis to be used as our Continuous integration server. Magento comes with a .travis.yml where it has: matrix: - TEST_SUITE=unit - TEST_SUITE=integration ...
1
vote
1answer
794 views

Should I run catalog:images:resize on each deployment or only incidentally?

The question is simple: Should I add bin/magento catalog:images:resize to our Continuous Integration script, running it on every deployment? Or is it's intent solely to run incidentally (since ...
4
votes
1answer
262 views

How can I run unit tests / code sniffs for individual modules using a CI provider?

At the company I work with, our modules are individual repositories. We add those as composer packages to our Magento 2 installation by adding GitHub as a repository in our composer.json: "require": {...