Checklist
Related Issues and Possible Duplicates
Related Issues
Possible Duplicates
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
Checklist
for similar or identical bug reports.
for existing proposed fixes.
to find out if the bug was already fixed in the main branch.
(If there are none, check this box anyway).
Related Issues and Possible Duplicates
Related Issues
Possible Duplicates
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
/appdirectory 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/appbut 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