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 when: matrix: PYTHON_VERSION: 3.10 # Still not sure about how to make flake for different python version matrix: PYTHON_VERSION: - 3.10 - 3.11