This commit is contained in:
19
.drone.yml
19
.drone.yml
@@ -1,20 +1,9 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: test-pipeline
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install-dependencies
|
- name: hello-world
|
||||||
image: python:3.10-slim
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- pip install -r requirements.txt
|
- echo "Hello, Drone CI!"
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user