File tree Expand file tree Collapse file tree 6 files changed +13
-40
lines changed Expand file tree Collapse file tree 6 files changed +13
-40
lines changed Original file line number Diff line number Diff line change 6
6
7
7
- name : Environment Detail
8
8
run : |
9
- conda info
10
- conda list
9
+ micromamba info
10
+ micromamba list
11
11
shell : bash -el {0}
12
12
13
13
- name : Build Pandas
Original file line number Diff line number Diff line change 6
6
environment-name :
7
7
description : Name to use for the Conda environment
8
8
default : test
9
- python-version :
10
- description : Python version to install
9
+ extra-specs :
10
+ description : Extra packages to install
11
11
required : false
12
12
pyarrow-version :
13
13
description : If set, overrides the PyArrow version in the Conda environment to the given string.
@@ -24,14 +24,13 @@ runs:
24
24
if : ${{ inputs.pyarrow-version }}
25
25
26
26
- name : Install ${{ inputs.environment-file }}
27
- uses : conda-incubator/setup-miniconda@v2.1.1
27
+ uses : mamba-org/provision-with-micromamba@v12
28
28
with :
29
29
environment-file : ${{ inputs.environment-file }}
30
- activate-environment : ${{ inputs.environment-name }}
31
- python-version : ${{ inputs.python-version }}
32
- channel-priority : ${{ runner.os == 'macOS' && 'flexible' || 'strict' }}
30
+ environment-name : ${{ inputs.environment-name }}
31
+ extra-specs : ${{ inputs.extra-specs }}
33
32
channels : conda-forge
34
- mamba-version : " 0.24"
35
- use-mamba : true
36
- use-only-tar-bz2 : true
33
+ channel-priority : ${{ runner.os == 'macOS' && 'flexible' || 'strict' }}
37
34
condarc-file : ci/condarc.yml
35
+ cache-env : true
36
+ cache-downloads : true
Original file line number Diff line number Diff line change 33
33
with :
34
34
fetch-depth : 0
35
35
36
- - name : Cache conda
37
- uses : actions/cache@v3
38
- with :
39
- path : ~/conda_pkgs_dir
40
- key : ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
41
-
42
36
# Although asv sets up its own env, deps are still needed
43
37
# during discovery process
44
38
- name : Set up Conda
Original file line number Diff line number Diff line change 52
52
with :
53
53
fetch-depth : 0
54
54
55
- - name : Cache conda
56
- uses : actions/cache@v3
57
- with :
58
- path : ~/conda_pkgs_dir
59
- key : ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
60
-
61
55
- name : Set up Conda
62
56
uses : ./.github/actions/setup-conda
63
57
@@ -117,12 +111,6 @@ jobs:
117
111
with :
118
112
fetch-depth : 0
119
113
120
- - name : Cache conda
121
- uses : actions/cache@v3
122
- with :
123
- path : ~/conda_pkgs_dir
124
- key : ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
125
-
126
114
- name : Set up Conda
127
115
uses : ./.github/actions/setup-conda
128
116
Original file line number Diff line number Diff line change 62
62
- name : Set up Conda
63
63
uses : ./.github/actions/setup-conda
64
64
with :
65
- environment-file : " "
65
+ environment-file : false
66
66
environment-name : pandas-sdist
67
- python-version : ${{ matrix.python-version }}
67
+ extra-specs : |
68
+ python =${{ matrix.python-version }}
68
69
69
70
- name : Install pandas from sdist
70
71
run : |
Original file line number Diff line number Diff line change @@ -134,15 +134,6 @@ jobs:
134
134
with :
135
135
fetch-depth : 0
136
136
137
- - name : Cache conda
138
- uses : actions/cache@v3
139
- env :
140
- CACHE_NUMBER : 0
141
- with :
142
- path : ~/conda_pkgs_dir
143
- key : ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
144
- hashFiles('${{ env.ENV_FILE }}') }}
145
-
146
137
- name : Extra installs
147
138
# xsel for clipboard tests
148
139
run : sudo apt-get update && sudo apt-get install -y xsel ${{ env.EXTRA_APT }}
You can’t perform that action at this time.
0 commit comments