diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..a76e65a9f49f33744ffeb59084b54968f8b323ba --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ + +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 + - conda activate test + - pip install .[test] + script: + - pytest tests -s +variables: + PIP_CACHE_DIR: /opt/cache/pip