@@ -22,14 +22,11 @@ jobs:
22
22
- name : Checkout
23
23
uses : actions/checkout@v2
24
24
25
- - name : Setup conda
26
- uses : conda-incubator/setup-miniconda@v2
25
+ - name : Install Conda environment with Micromamba
26
+ uses : mamba-org/provision-with-micromamba@main
27
27
with :
28
- activate- environment : ipympl-dev
28
+ environment-name : ipympl-dev
29
29
environment-file : dev-environment.yml
30
- python-version : ${{ matrix.python-version }}
31
- mamba-version : " *"
32
- auto-activate-base : false
33
30
channels : conda-forge
34
31
35
32
- name : Build packages
@@ -64,24 +61,22 @@ jobs:
64
61
- name : Checkout
65
62
uses : actions/checkout@v2
66
63
67
- - name : Setup conda
68
- uses : conda-incubator/setup-miniconda@v2
64
+ - name : Install Conda environment with Micromamba
65
+ uses : mamba-org/provision-with-micromamba@main
69
66
with :
70
- python-version : ${{ matrix.python-version }}
71
- mamba-version : " *"
72
- auto-activate-base : false
67
+ environment-name : ipympl-dev
68
+ environment-file : dev-environment.yml
73
69
channels : conda-forge
74
-
75
- - name : Install dependencies
76
- run : mamba install python=${{ matrix.python-version }} pip yarn nodejs=16 jupyterlab jupyter-packaging nbval pytest ipywidgets
70
+ extra-specs : |
71
+ python=${{ matrix.python }}
77
72
78
73
- if : matrix.mpl-version == 'latest'
79
74
name : Install latest Matplotlib
80
75
run : pip install --upgrade --pre --index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple --extra-index-url https://pypi.org/simple matplotlib
81
76
82
77
- if : matrix.mpl-version != 'latest'
83
78
name : Install matplotlib pinned
84
- run : mamba install matplotlib=${{ matrix.mpl-version}}.*
79
+ run : micromamba install matplotlib=${{ matrix.mpl-version}}.*
85
80
86
81
- uses : actions/download-artifact@v2
87
82
with :
0 commit comments