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 -o image_link --experimental-features 'nix-command flakes' .#docker - cp image_link image when: matrix: PYTHON_VERSION: 3.10 # Still not sure about how to make flake for different python version push_container: image: quay.io/podman/stable pull: true commands: - podman login -u histausse -p $GITEA_TOKEN git.pains-perdus.fr - podman load < image - podman push test_flake_poetry2nix:latest git.pains-perdus.fr/histausse/test_flake_poetry2nix:latest secrets: [ gitea_token ] 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