[FEAT] Run integration tests w/o Rabbitmq

Aperta
#14 5 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github-actions, mysql, php
Ambito
ci-cd, testing

Direzione di ricerca

The reporter's workaround is a sed pipeline over dev/tests/integration/etc/install-config-mysql.php.dist that deletes the amqp lines, so start by finding where this action generates or edits that integration config. Done means a documented or input-controlled way to run integration tests without RabbitMQ, confirmed by a run. The thread is 300 days quiet and the issue was copied from another repo, so confirm with maintainers which approach they want first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

💡 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:

cc: @ihor-sviziev

Copied from https://github.com/graycoreio/github-actions-magento2/issues/64

Lingua principale
TypeScript
Stelle
12
Fork
15
Merge medio
3g 15h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mage-os/github-actions

Tutte le issue di mage-os/github-actions

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.