Missing documentation on how to include source code

Đang mở
#439 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@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ả

documentation

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của celery/pytest-celery

Tất cả issue của celery/pytest-celery

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.