For a Django project, I can get coverage and unit tests to run inside the windows provided by PyCharm. However, when working with a pure python project (for a future command line program), I can't seem to get docker-compose to integrate or be recognized by the testing / coverage windows. For example, instead of the test dialog popping up, I have to look at the log in the docker window o see the results.
Does anyone have experience setting up a pure python project with docker-compose as the interpreter? If so, could you share a reproducible example of your Dockerfile + docker-compose and any commands you run to integrate with PyCharm?
This is what I have right now:
COPY requirements.txt /
RUN pip install -r /requirements.txt
command: "bash -c 'cd /app && python -m unittest discover'"