Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: move docker service start in pytest #351

Merged
merged 1 commit into from
Jul 22, 2023
Merged

tests: move docker service start in pytest #351

merged 1 commit into from
Jul 22, 2023

Conversation

Kdecherf
Copy link
Member

@Kdecherf Kdecherf commented Jul 22, 2023

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 avast/pytest-docker#13

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
@Kdecherf Kdecherf requested review from j0k3r and nicosomb July 22, 2023 15:21
@Kdecherf Kdecherf merged commit d5aac3e into master Jul 22, 2023
4 checks passed
@Kdecherf Kdecherf deleted the impr/pytest branch July 22, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants