This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -1,6 +1,6 @@
|
|||||||
kind: pipeline
|
kkind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: ci-pipeline
|
name: python-ci
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install-dependencies
|
- name: install-dependencies
|
||||||
@@ -11,11 +11,5 @@ steps:
|
|||||||
- name: run-tests
|
- name: run-tests
|
||||||
image: python:3.10-slim
|
image: python:3.10-slim
|
||||||
commands:
|
commands:
|
||||||
|
- pip install -r requirements.txt # Assure l'installation des dépendances ici aussi
|
||||||
- pytest tests/
|
- pytest tests/
|
||||||
|
|
||||||
- name: lint
|
|
||||||
image: python:3.10-slim
|
|
||||||
commands:
|
|
||||||
- pip install flake8
|
|
||||||
- flake8 . --max-line-length=88
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
pytest==7.3.1
|
||||||
Reference in New Issue
Block a user