TNO Intern

Commit 4899964d authored by Florian Knappers's avatar Florian Knappers
Browse files

1st attempt

parent ebc52862
Loading
Loading
Loading
Loading
Loading
+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