20 lines
373 B
YAML
20 lines
373 B
YAML
|
pipeline:
|
||
|
install:
|
||
|
image: python:${PYTHON}-slim
|
||
|
commands:
|
||
|
- python -m venv --clear venv
|
||
|
- export PATH=venv/bin:$PATH
|
||
|
- python -m pip install --upgrade pip
|
||
|
- pip install -v ".[tests]"
|
||
|
test:
|
||
|
image: python:${PYTHON}-slim
|
||
|
commands:
|
||
|
- export PATH=venv/bin:$PATH
|
||
|
- python -m pytest
|
||
|
|
||
|
|
||
|
matrix:
|
||
|
PYTHON:
|
||
|
- 3.10
|
||
|
- 3.9
|