@@ -37,36 +37,35 @@ jobs:
37
37
38
38
- if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
39
39
name : Set up Conda Environment
40
- uses : conda-incubator /setup-miniconda@v3
40
+ uses : mamba-org /setup-micromamba@v2
41
41
with :
42
- activate-environment : " mpas_analysis_ci"
43
- miniforge-version : latest
44
- channels : conda-forge
45
- channel-priority : strict
46
- auto-update-conda : false
47
- python-version : ${{ env.PYTHON_VERSION }}
42
+ environment-name : mpas_analysis_dev
43
+ init-shell : bash
44
+ condarc : |
45
+ channel_priority: strict
46
+ channels:
47
+ - conda-forge
48
+ create-args : >-
49
+ python=${{ env.PYTHON_VERSION }}
48
50
49
51
- if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
50
52
name : Install mpas_analysis
51
53
run : |
52
54
git config --global url."https://github.com/".insteadOf "git@github.com:"
53
- conda create -n mpas_analysis_dev --file dev-spec.txt \
55
+ conda install -y --file dev-spec.txt \
54
56
python=${{ env.PYTHON_VERSION }}
55
- conda activate mpas_analysis_dev
56
57
python -m pip install -vv --no-deps --no-build-isolation -e .
57
58
58
59
- name : Build Sphinx Docs
59
60
run : |
60
61
set -e
61
- conda activate mpas_analysis_dev
62
62
pip check
63
63
mpas_analysis sync diags --help
64
64
cd docs
65
65
sphinx-multiversion . _build/html
66
66
- name : Copy Docs and Commit
67
67
run : |
68
68
set -e
69
- conda activate mpas_analysis_dev
70
69
pip check
71
70
mpas_analysis sync diags --help
72
71
cd docs
0 commit comments