@@ -53,21 +53,22 @@ jobs:
53
53
54
54
- if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
55
55
name : Set up Conda Environment
56
- uses : conda-incubator /setup-miniconda@v3
56
+ uses : mamba-org /setup-micromamba@v2
57
57
with :
58
- activate-environment : " mpas_analysis_ci"
59
- miniforge-version : latest
60
- channels : conda-forge
61
- channel-priority : strict
62
- auto-update-conda : false
63
- python-version : ${{ matrix.python-version }}
58
+ environment-name : mpas_analysis_dev
59
+ init-shell : bash
60
+ condarc : |
61
+ channel_priority: strict
62
+ channels:
63
+ - conda-forge
64
+ create-args : >-
65
+ python=${{ matrix.python-version }}
64
66
65
67
- if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
66
68
name : Install mpas_analysis
67
69
run : |
68
- conda create -n mpas_analysis_dev --file dev-spec.txt \
69
- python=${{ matrix.python-version }}
70
- conda activate mpas_analysis_dev
70
+ conda install -y --file dev-spec.txt \
71
+ python=${{ matrix.python-version }}
71
72
python -m pip install --no-deps --no-build-isolation -vv -e .
72
73
73
74
- if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
76
77
CHECK_IMAGES : False
77
78
run : |
78
79
set -e
79
- conda activate mpas_analysis_dev
80
80
pip check
81
81
pytest --pyargs mpas_analysis
82
82
mpas_analysis --help
85
85
- if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
86
86
name : Build Sphinx Docs
87
87
run : |
88
- conda activate mpas_analysis_dev
89
88
# sphinx-multiversion expects at least a "main" branch
90
89
git branch main || echo "branch main already exists."
91
90
cd docs
0 commit comments