mirror of
https://github.com/kennethreitz/replit-py.git
synced 2026-06-05 15:00:20 +00:00
use Semaphore for CI (#11)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user