Missing documentation on how to include source code
@Nusnus đang làm issue này rồi.
Từ ngày 19/12/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Checklist
- I have checked the issues list
for similar or identical bug reports. - I have checked the pull requests list
for existing proposed fixes. - I have checked the commit log
to find out if the bug was already fixed in the main branch. - I have included all related issues and possible duplicate issues in this issue
(If there are none, check this box anyway).
Related Issues and Possible Duplicates
Related Issues
- None
Possible Duplicates
- None
Description
I could not find from the documentation what should be a simple item. I understand that the pytest-celery plugin is managing the creation of /app directory and injecting it into the worker container. That's great and all, but it's not including the code that the tasks depend on from the project. I tried using a custom dockerfile to copy the project source code into /app but it get's overidden completely. What is the best way to ensure all the source code get's included in the test worker container and not just the files which contain tasks?
Suggestions
- Ngôn ngữ chính
- Python
- Star
- 83
- Fork
- 18
- Merge trung bình
- 4 giờ 13 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 celery/pytest-celery
-
ModuleNotFoundError: No module named 'pkg_resources' in worker defaults on Python 3.13+Có thể đã có người làm @auvipy đã nhận 12 ngày trước. Đang mởbug
celery/pytest-celery#587 · 1 người được giao ·
-
feature
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
celery/pytest-celery#463 · 1 bình luận ·
-
documentation
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
celery/pytest-celery#459 ·
-
`celery_worker` fixture name colides with `celery_worker` fixture from `celery.contrib.pytest`Có thể làm lại được @Nusnus đã nhận 645 ngày trước và không có pull request nào đang mở. Đang mởbug
celery/pytest-celery#442 · 7 bình luận · 5 reaction · 1 người được giao ·
Tất cả issue của celery/pytest-celery
Issue tương tự
-
Unknown stop ID in slow zone data crashes post formatting and skips the rest of that day's postsĐang mởbackend bug tm-new-volunteer
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
transitmatters/mbta-slow-zone-bot#81 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
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 64/100
spacetelescope/rdmt-spire#49 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
AI bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
AUTO-MAS-Project/AUTO-MAS#1960 · 1 bình luận ·
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 82/100
btclib-org/btclib-wallet#872 ·
Maintainer thường phản hồi trong vòng 1 ngày