Loading .gitlab-ci.yml +23 −0 Original line number Diff line number Diff line stages: - test - deploy Run tests: stage: test tags: - docker image: ghcr.io/prefix-dev/pixi:latest allow_failure: false script: - export TZ=Europe/Amsterdam - ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone - apt-get update - apt-get install -y build-essential gcc tk - pixi install - pixi run pytest -rx tests/ - rm -rf /var/lib/apt/lists/* only: - main - merge_requests pages: stage: deploy image: python:latest Loading Loading
.gitlab-ci.yml +23 −0 Original line number Diff line number Diff line stages: - test - deploy Run tests: stage: test tags: - docker image: ghcr.io/prefix-dev/pixi:latest allow_failure: false script: - export TZ=Europe/Amsterdam - ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone - apt-get update - apt-get install -y build-essential gcc tk - pixi install - pixi run pytest -rx tests/ - rm -rf /var/lib/apt/lists/* only: - main - merge_requests pages: stage: deploy image: python:latest Loading