Skip to content
Snippets Groups Projects
This GitLab CI configuration is valid. Learn more
.gitlab-ci.yml 358 B

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