From 5753b87dd9758b90650f16807d4637cfde184b3b Mon Sep 17 00:00:00 2001 From: gilles Date: Sat, 4 Jan 2025 08:02:19 +0100 Subject: [PATCH] ajout drone CI --- .drone.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.drone.yml b/.drone.yml index e69de29..3dd64f8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -0,0 +1,20 @@ +kind: pipeline +type: docker +name: default + +steps: + - name: install-dependencies + image: python:3.10-slim + commands: + - pip install -r requirements.txt + + - name: run-tests + image: python:3.10-slim + commands: + - pytest tests/ + + - name: lint + image: python:3.10-slim + commands: + - pip install flake8 + - flake8 . --max-line-length=88