use Semaphore for CI (#11)

This commit is contained in:
Sidney Kochman
2020-08-12 10:44:03 -04:00
committed by GitHub
parent d0866e9bcb
commit 6c1924ddb5
+17
View File
@@ -0,0 +1,17 @@
version: v1.0
name: Python
agent:
machine:
type: e1-standard-2
os_image: ubuntu1804
blocks:
- name: Lint
task:
jobs:
- name: flake8
commands:
- sem-version python 3.8
- checkout --use-cache
- python -m pip install --upgrade poetry
- poetry install
- git diff origin/master | poetry run flake8 --diff