Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Run unittests in pipeline using docker

Avatar
odoo
Avatar
Discard
2 Answers
0
Avatar
odoo
Best Answer

Update:

1) I found the command:

 --stop-after-init

which seems to work but exists with code 1, meaning, it will be interpreted as an error. Any ideas about that?


Thx

Ronny

Avatar
Discard
0
Avatar
odoo
Best Answer

I had this same problem. Additionally I wanted an interactive way of running my test quite continuously during development...

I created an open source script to solve both use-cases:

https://github.com/dimitrydhondt/odoutils

Feedback welcome :)

To run it inside of docker you'll need 'docker in docker', I believe.

https://shisho.dev/blog/posts/docker-in-docker/

Avatar
Discard