DeepLcom / deepl-mock

deepl-mock is a mock HTTP server that simulates some behavior of the DeepL API to simplify application testing.
MIT License
23 stars 5 forks source link

Use this as a service for github actions when running tests #4

Open christiaan opened 8 months ago

christiaan commented 8 months ago

I'd like to run integration tests against this mock in our CI pipeline.

However github only supports images for services, not whole repositories that still need building. See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idservicesservice_idimage

Would it be possible to publish this image (automatically) to docker hub? Basically this https://hub.docker.com/r/thibauddemay/deepl-mock but than official?

daniel-jones-dev commented 5 months ago

Hi @christiaan, sorry for the slow reply.

We're going to be adding GitHub CI pipelines on our projects soon, so we'll have the same use case. I think we'll publish it as a image then.

We did not publish it as an image in the past due to security reasons (deepl-mock is not secure); we'll have to make sure the image has appropriate warnings on it.