github-actions-magento2 icon indicating copy to clipboard operation
github-actions-magento2 copied to clipboard

[FEAT] Run integration tests w/o Rabbitmq

Open ihor-sviziev opened this issue 3 years ago • 1 comments
trafficstars

:bulb: Feature request

Feature Name

The Desired Behavior

I never saw integration tests that depend on RabbitMQ. Since there is a way to install Magento w/o it - I think it's a good idea to speed up the integration test.

Currently, I'm not using these actions because of this. here is my config preparation for integration tests:

      - name: Replace Configuration Settings for env
        working-directory: ./magento2/dev/tests/integration/etc
        run: |
          cat install-config-mysql.php.dist \
            | sed "s/'db-host' => 'localhost'/'db-host' => '127.0.0.1'/" \
            | sed "s/'db-user' => 'root'/'db-user' => 'user'/" \
            | sed "s/'db-password' => '123123q'/'db-password' => 'password'/" \
            | sed "s/'elasticsearch-host' => 'localhost'/'elasticsearch-host' => '127.0.0.1'/" \
            | sed '/amqp/d' > install-config-mysql.php

Your Use Case

Prior Work

Environment


Magento version: X.Y.Z 
PHP Version version: X.Y.Z 


Others:

ihor-sviziev avatar Oct 07 '22 09:10 ihor-sviziev

This is tangentially related to #50

damienwebdev avatar Oct 07 '22 13:10 damienwebdev

Moved to https://github.com/mage-os/github-actions/issues/14

damienwebdev avatar Apr 25 '23 14:04 damienwebdev