diff --git a/conda-env/ci.yml b/conda-env/ci.yml index a8ac8b0..837aa95 100644 --- a/conda-env/ci.yml +++ b/conda-env/ci.yml @@ -1,6 +1,6 @@ # Conda environment for CI/CD (used in GH Actions) # TODO: 1. Replace template in `name` with your library name -name: template-ci +name: pcmdi_utils_ci channels: - conda-forge - defaults @@ -10,10 +10,33 @@ dependencies: # ========================================== # Base - for building this package # ========================================== - - python >=3.8 + - python=3.10.10 + - xcdat=0.5.0 + - pip + - pip: + - global-land-mask + # ========================================== + # Quality Assurance - for linting and formatting + # ========================================== + # NOTE: If versions are updated, also update 'rev' in `.pre-commit.config.yaml` + - black=23.1.0 + - flake8=6.0.0 + - flake8-isort=6.0.0 + - isort=5.12.0 + - mypy=1.1.1 + - pre-commit=3.2.0 + # ========================================== + # Documentation - for building docs + # ========================================== + - sphinx=5.3.0 + - sphinx-autosummary-accessors=2022.4.0 + - sphinx-rtd-theme=1.2.0 + - sphinx-book-theme=1.0.1 + - sphinx-copybutton=0.5.1 + - nbsphinx=0.9.1 # ========================================== # Testing - for running unit tests # ========================================== - pytest # TODO: 3. Replace template in`prefix` with your library name -prefix: /opt/miniconda3/envs/template-ci +prefix: /opt/miniconda3/envs/pcmdi_utils_ci