only build prs and main
This commit is contained in:
parent
9e48953fc3
commit
31fd801263
@ -12,3 +12,9 @@ steps:
|
|||||||
- pipenv install --dev
|
- pipenv install --dev
|
||||||
- pipenv run flake8
|
- pipenv run flake8
|
||||||
- pipenv run python -m unittest discover ki
|
- pipenv run python -m unittest discover ki
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
14
drone.yml
14
drone.yml
@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: qa
|
|
||||||
image: python3.8-alpine
|
|
||||||
commands:
|
|
||||||
- apk add --no-cache gcc g++ musl-dev python3-dev
|
|
||||||
- pip3 install pipenv
|
|
||||||
- pipenv install --system
|
|
||||||
- flake8
|
|
||||||
- python -m unittest discover ki
|
|
Loading…
x
Reference in New Issue
Block a user