File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -99,24 +99,25 @@ jobs:
99
99
no-optional-deps :
100
100
name : no-optional-deps
101
101
runs-on : ubuntu-latest
102
+ defaults :
103
+ run :
104
+ shell : bash -l {0}
102
105
steps :
103
106
- uses : actions/checkout@v3
104
107
with :
105
108
# need to fetch all tags to get a correct version
106
109
fetch-depth : 0 # fetch all branches and tags
107
- - uses : conda-incubator/setup-miniconda@v2
108
- with :
109
- channels : conda-forge
110
- mamba-version : " *"
111
- activate-environment : cf_xarray_test
112
- auto-update-conda : false
113
- python-version : ${{ matrix.python-version }}
114
110
- name : Set up conda environment
115
- shell : bash -l {0}
111
+ uses : mamba-org/provision-with-micromamba@v14
112
+ with :
113
+ environment-file : ci/environment-no-optional-deps.yml
114
+ environment-name : cf_xarray_test
115
+ cache-env : true
116
+ extra-specs : |
117
+ python="${{ matrix.python-version }}"
118
+ - name : Install cf_xarray
116
119
run : |
117
- mamba env update -f ci/environment-no-optional-deps.yml
118
- python -m pip install -e .
119
- conda list
120
+ python -m pip install --no-deps -e .
120
121
- name : Run Tests
121
122
shell : bash -l {0}
122
123
run : |
You can’t perform that action at this time.
0 commit comments