diff --git a/.drone.yml b/.drone.yml index f838dd7..f8c3c3b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ -kind: pipeline +kkind: pipeline type: docker -name: ci-pipeline +name: python-ci steps: - name: install-dependencies @@ -11,11 +11,5 @@ steps: - name: run-tests image: python:3.10-slim commands: + - pip install -r requirements.txt # Assure l'installation des dépendances ici aussi - pytest tests/ - - - name: lint - image: python:3.10-slim - commands: - - pip install flake8 - - flake8 . --max-line-length=88 - diff --git a/requirements.txt b/requirements.txt index e69de29..a6510db 100644 --- a/requirements.txt +++ b/requirements.txt @@ -0,0 +1 @@ +pytest==7.3.1 \ No newline at end of file