From 5812b47ced4a664c5661c3077c9d202fb9f77c31 Mon Sep 17 00:00:00 2001 From: Gilles Soulier Date: Sat, 4 Jan 2025 12:09:13 +0100 Subject: [PATCH] test pipeline --- .drone.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 13fe195..f838dd7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,21 @@ kind: pipeline type: docker -name: test-pipeline +name: ci-pipeline steps: - - name: hello-world - image: alpine + - name: install-dependencies + image: python:3.10-slim commands: - - echo "Hello, Drone CI!" + - 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 +