I have created a simple Python project on GitLab. I enabled the AutoDev Ops CI/CD pipeline for it. I haven’t created a
test job fails with the following error.
-----> Fetching custom buildpack -----> python 1.5.13 app detected Selected buildpack does not support test feature Cleaning up project directory and file based variables 00:00 ERROR: Job failed: exit code 1
This appears to be the problem described in Issue 22684: herokuish/AutoDevOps can’t test some languages. According to this comment, the workaround is to use a custom buildpack. In my CI/CD settings I have tried setting the
BUILDPACK_URL to both heroku-buildpack-python and a modified version of this buildpack that according to the comment has test support. Both give me the same error shown above. All the other pipeline jobs succeed.
How do I get the Python AutoDev test pipeline to work?