20 lines
263 B
YAML
20 lines
263 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: kubernetes
|
||
|
name: test
|
||
|
|
||
|
platform:
|
||
|
os: linux
|
||
|
arch: amd64
|
||
|
|
||
|
steps:
|
||
|
|
||
|
- name: test
|
||
|
image: python:3-alpine
|
||
|
commands:
|
||
|
- "pip install -r requirements.txt"
|
||
|
- "pytest --cov=app tests/"
|
||
|
when:
|
||
|
event:
|
||
|
- push
|
||
|
- pull_request
|