Tweak CI pipeline

master
Thomas Sileo 2019-04-13 11:41:06 +02:00
rodzic 473302d3a9
commit c1d98b45a2
1 zmienionych plików z 19 dodań i 6 usunięć

Wyświetl plik

@ -1,12 +1,25 @@
pipeline:
build:
---
kind: pipeline
name: default
steps:
- name : lint
image: python:3
commands:
- pip install -r requirements.txt
- pip install black flake8 mypy
- black --check .
- flake8 little_boxes
- mypy --ignore-missing-imports little_boxes
- name: test
image: python:3
commands:
- pip install -r requirements.txt
- pip install -r dev-requirements.txt
- mypy --version
- mypy --ignore-missing-imports little_boxes
- flake8 little_boxes
- black --check .
- python -m pytest -vv --cov=little_boxes
- codecov
---
kind: signature
hmac: 1a911726b099fc76fc3ea1181f5c7b0c0e4d8d4b1b314204def5da7f21fb299b
...