2021-12-21 21:58:04 +00:00
|
|
|
pipeline:
|
|
|
|
install:
|
2021-12-21 22:31:08 +00:00
|
|
|
image: python:${TAG}-alpine
|
2021-12-21 21:58:04 +00:00
|
|
|
commands:
|
2021-12-21 22:36:19 +00:00
|
|
|
- apk add mariadb-dev jpeg-dev
|
2021-12-21 21:58:04 +00:00
|
|
|
- python -m pip install --upgrade pip
|
2021-12-21 22:34:02 +00:00
|
|
|
- pip install -v ".[tests]"
|
2021-12-21 21:58:04 +00:00
|
|
|
test:
|
2021-12-21 22:36:19 +00:00
|
|
|
image: python:${PYTHON}-alpine
|
2021-12-21 21:58:04 +00:00
|
|
|
commands:
|
|
|
|
- pytest
|
2021-12-21 22:31:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
matrix:
|
2021-12-21 22:36:19 +00:00
|
|
|
PYTHON:
|
2021-12-21 22:31:08 +00:00
|
|
|
- 3.10
|
|
|
|
- 3.9
|
|
|
|
- 3.8
|
|
|
|
- 3.7
|