2021-01-10 18:23:21 +00:00
|
|
|
---
|
|
|
|
matrix:
|
|
|
|
include:
|
2021-01-26 21:54:46 +00:00
|
|
|
- IMAGE: 3.6-stretch
|
|
|
|
TOXENV: py36
|
|
|
|
|
|
|
|
- IMAGE: 3.7-stretch
|
|
|
|
TOXENV: py37
|
|
|
|
|
|
|
|
- IMAGE: 3.8-buster
|
|
|
|
TOXENV: py38
|
|
|
|
|
|
|
|
- IMAGE: 3.9-buster
|
|
|
|
TOXENV: py39
|
|
|
|
|
2021-01-10 18:23:21 +00:00
|
|
|
- IMAGE: 3.9-buster
|
|
|
|
TOXENV: lint
|
2021-01-26 21:54:46 +00:00
|
|
|
|
2021-01-10 18:23:21 +00:00
|
|
|
- IMAGE: 3.9-buster
|
|
|
|
TOXENV: sort
|
2021-01-26 21:54:46 +00:00
|
|
|
|
2021-01-10 18:23:21 +00:00
|
|
|
- IMAGE: 3.9-buster
|
|
|
|
TOXENV: format
|
2021-01-26 21:54:46 +00:00
|
|
|
|
2021-01-10 18:23:21 +00:00
|
|
|
- IMAGE: 3.9-buster
|
|
|
|
TOXENV: type
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: python:${IMAGE}
|
|
|
|
commands:
|
|
|
|
- pip install tox
|
|
|
|
- tox -e ${TOXENV}
|
2021-01-26 22:16:50 +00:00
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
name: code coverage
|
|
|
|
steps:
|
|
|
|
- name: coverage
|
|
|
|
image: plugins/codecov
|
|
|
|
settings:
|
|
|
|
token:
|
|
|
|
from_secret: codecov_token
|