From c569a79cf198a66808dcd68f7693eb653cb2fc32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hrachovina?= Date: Thu, 28 Nov 2024 17:09:40 +0100 Subject: [PATCH] Update .drone.yml --- .drone.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.drone.yml b/.drone.yml index be06b90..1af2bb1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,6 +53,14 @@ steps: APP_SETTINGS: project.config.TestingConfig DATABASE_TEST_URL: postgres://postgres:postgres@gamedb:5432/game_test + # Cleanup step + - name: cleanup + image: alpine:latest + commands: + - echo "Cleaning up after tests..." + - rm -rf /tmp/* + - echo "Cleanup complete!" + services: - name: gamedb image: postgres:15-alpine