@@ -73,21 +73,22 @@ jobs:
7373
7474 - if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
7575 name : Set up Conda Environment
76- uses : conda-incubator /setup-miniconda@v3
76+ uses : mamba-org /setup-micromamba@v2
7777 with :
78- activate-environment : " mache_ci"
79- miniforge-version : latest
80- channels : conda-forge
81- channel-priority : strict
82- auto-update-conda : true
83- python-version : ${{ matrix.python-version }}
78+ environment-name : mache_dev
79+ init-shell : bash
80+ condarc : |
81+ channel_priority: strict
82+ channels:
83+ - conda-forge
84+ create-args : >-
85+ python=${{ matrix.python-version }}
8486
8587 - if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
8688 name : Install mache
8789 run : |
88- conda create -n mache_dev --file spec-file.txt \
89- python=${{ matrix.python-version }}
90- conda activate mache_dev
90+ conda install -y --file spec-file.txt \
91+ python=${{ matrix.python-version }}
9192 python -m pip install --no-deps --no-build-isolation -vv -e .
9293
9394 - if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
@@ -96,15 +97,13 @@ jobs:
9697 CHECK_IMAGES : False
9798 run : |
9899 set -e
99- conda activate mache_dev
100100 pip check
101101 mache sync diags --help
102102 pytest tests
103103
104104 - if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
105105 name : Build Sphinx Docs
106106 run : |
107- conda activate mache_dev
108107 # sphinx-multiversion expects at least a "main" branch
109108 git branch main || echo "branch main already exists."
110109 cd docs
0 commit comments