24 lines
499 B
YAML
24 lines
499 B
YAML
pipeline:
|
|
test:
|
|
group: test
|
|
image: python:${PYTHON_VERSION}
|
|
pull: true
|
|
environment:
|
|
- POETRY_VIRTUALENVS_IN_PROJECT=true
|
|
commands:
|
|
- pip install poetry
|
|
- poetry install
|
|
- poetry run pytest
|
|
nix:
|
|
group: test
|
|
image: nixos/nix:latest
|
|
pull: true
|
|
commands:
|
|
- nix build --experimental-features 'nix-command flakes'
|
|
- nix build --experimental-features 'nix-command flakes' .#docker
|
|
|
|
matrix:
|
|
PYTHON_VERSION:
|
|
- 3.10
|
|
- 3.11
|