test_flake_poetry2nix/.woodpecker.yml

24 lines
410 B
YAML

pipeline:
test:
group: poetry
image: python:${PYTHON_VERSION}
pull: true
environment:
- POETRY_VIRTUALENVS_IN_PROJECT=true
commands:
- pip install poetry
- poetry install
- poetry run pytest
nix:
group: nix
image: nixos/nix:latest
pull: true
commands:
- nix build
- nix build .#docker
matrix:
PYTHON_VERSION:
- 3.10
- 3.11