wallabag / docker

Official docker-composer for wallabag.
594 stars 150 forks source link

tests: move docker service start in pytest #351

Closed Kdecherf closed 1 year ago

Kdecherf commented 1 year ago

This PR moves logic in charge of starting docker service wallabag in pytest, using pytest-docker. This let us avoid putting sleep steps in the CI.

As pytest-docker does not provide a way to print service logs, we still rely on additional calls to docker-compose logs and docker-compose down -v after tests are finished, see https://github.com/avast/pytest-docker/issues/13