
stages:
  - test

test:
  stage: test
  image: condaforge/mambaforge:latest
  before_script:
    - eval "$(/opt/conda/bin/conda shell.posix hook)"  # Enable activate/deactivate
    - mamba create --name=test python=3.10 pytango
    - conda activate test
    - pip install .[test]
  script:
    - pytest tests -s
variables:
    PIP_CACHE_DIR: /opt/cache/pip
