From 13c185d614d55ba22fbb3e401218f3257746d665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hrachovina?= Date: Fri, 6 Dec 2024 09:47:35 +0100 Subject: [PATCH] modified: .drone.yml --- .drone.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0c15022..52a21a8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,20 +7,12 @@ steps: image: python:3.9 commands: - pip install -r requirements.txt - - cd web # Change to the correct directory - - python app.py | tee output.log + - find . -name "*.py" -exec python -m py_compile {} \; when: timeout: 15s -- name: check-success - image: alpine:latest - commands: - - grep "Debug mode: on" output.log - - name: cleanup image: alpine:latest commands: - echo "Cleaning up any created data..." - - rm -rf /tmp/* - depends_on: - - check-success \ No newline at end of file + - rm -rf /tmp/* \ No newline at end of file