GitHub action never stops running if coverage doesn't take app name
Hi there
First, thanks for building this action - it is very useful.
I've tried tweaking this so that coverage runs tests for the entire django project and I'm getting strange results. Once the workflow reaches this action, it runs infinitely (over an hour) every time. So the command I'm running is:
coverage run --source "${APP_LOCATION}" manage.py test
Do you have any idea why this would happen?
Running this exact command locally has no issues.
Thanks!
Hi... I'd discourage that kind of usage. It will try to run the coverage app for your entire virtual environment, and it could take a while depending on how big it is. You are PROBABLY (I'm not sure) going over some limit, maybe memory.
Try to customize the virtual environment setup so it's outside of the project folder and let me know if that fixed the problem.