[FEAT] Run integration tests w/o Rabbitmq
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
💡 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
- Ngôn ngữ chính
- TypeScript
- Star
- 12
- Fork
- 15
- Merge trung bình
- 3 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mage-os/github-actions
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
mage-os/github-actions#341 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
mage-os/github-actions#340 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
mage-os/github-actions#364 ·
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 65/100
mage-os/github-actions#363 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
mage-os/github-actions#359 · 3 bình luận ·
Tất cả issue của mage-os/github-actions
Issue tương tự
-
api bug priority:low ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
wondermoney/wondermoney#862 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
rootsiemen/seo-agent-tools#70 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
alvinunreal/oh-my-opencode-slim#1971 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
elecnix/bellwether#467 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày