You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
387 B

kind: pipeline
name: build
type: docker
steps:
- name: test
image: python:3.10.1-slim-buster
commands:
- pip install --upgrade pip setuptools wheel
- pip wheel -r requirements.txt --wheel-dir=wheeldir --find-links=wheeldir
- pip install --no-index --find-links=wheeldir -r requirements.txt
- flake8 app
- mkdir -p coverage
- pytest tests/
trigger:
branch:
- master