From 4285dbaac9dcd603b4eb199bd13b2c880e66f759 Mon Sep 17 00:00:00 2001 From: Matthew Lopez <73856503+MatthewL246@users.noreply.github.com> Date: Sun, 14 Jan 2024 11:01:45 -0500 Subject: [PATCH] Set the database servers to restart --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f1e95fb..10d86e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,6 +27,9 @@ jobs: run: | yq eval 'del(.services.*.ports)' -i compose.yml yq eval '.services.*.restart = "no"' -i compose.yml + # The databases seem to crash randomly sometimes in Actions + yq eval '.services.mongodb.restart = "unless-stopped"' -i compose.yml + yq eval '.services.postgres.restart = "unless-stopped"' -i compose.yml - name: Run the setup script run: ./setup.sh