pytest
Some checks failed
continuous-integration/drone Build encountered an error

This commit is contained in:
2025-01-04 12:18:11 +01:00
parent b4925bdb90
commit 257b84439e
2 changed files with 4 additions and 9 deletions

View File

@@ -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

View File

@@ -0,0 +1 @@
pytest==7.3.1