@@ -36,34 +36,34 @@ jobs:
3636
3737 - if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
3838 name : Set up Conda Environment
39- uses : conda-incubator /setup-miniconda@v3
39+ uses : mamba-org /setup-micromamba@v2
4040 with :
41- activate-environment : " mpas_tools_ci"
42- miniforge-version : latest
43- channels : conda-forge
44- channel-priority : strict
45- auto-update-conda : true
46- python-version : ${{ env.PYTHON_VERSION }}
41+ environment-name : mpas_tools_dev
42+ init-shell : bash
43+ condarc : |
44+ channel_priority: strict
45+ channels:
46+ - conda-forge
47+ create-args : >-
48+ python=${{ env.PYTHON_VERSION }}
4749
4850 - if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
4951 name : Install mpas_tools
5052 run : |
5153 git config --global url."https://github.com/".insteadOf "git@github.com:"
52- conda create -n mpas_tools_dev --file conda_package/dev-spec.txt
53- conda activate mpas_tools_dev
54+ conda install -y --file conda_package/dev-spec.txt \
55+ python=${{ env.PYTHON_VERSION }}
5456 python -m pip install -vv --no-deps --no-build-isolation -e conda_package
5557
5658 - name : Build Sphinx Docs
5759 run : |
5860 set -e
5961 cd conda_package/docs
60- conda activate mpas_tools_dev
6162 DOCS_VERSION=${{ github.ref_name }} make versioned-html
6263 - name : Copy Docs and Commit
6364 run : |
6465 set -e
6566 cd conda_package/docs
66- conda activate mpas_tools_dev
6767 # gh-pages branch must already exist
6868 git clone https://github.com/MPAS-Dev/MPAS-Tools.git --branch gh-pages --single-branch gh-pages
6969
0 commit comments