File tree 5 files changed +24
-42
lines changed
5 files changed +24
-42
lines changed Original file line number Diff line number Diff line change 3
3
environment-file :
4
4
description : Conda environment file to use.
5
5
default : environment.yml
6
+ environment-name :
7
+ description : Name to use for the Conda environment
8
+ default : test
9
+ python-version :
10
+ description : Python version to install
11
+ required : false
6
12
pyarrow-version :
7
13
description : If set, overrides the PyArrow version in the Conda environment to the given string.
8
14
required : false
21
27
uses :
conda-incubator/[email protected]
22
28
with :
23
29
environment-file : ${{ inputs.environment-file }}
30
+ activate-environment : ${{ inputs.environment-name }}
31
+ python-version : ${{ inputs.python-version }}
24
32
channel-priority : ${{ runner.os == 'macOS' && 'flexible' || 'strict' }}
25
33
channels : conda-forge
26
- mamba-version : " 0.23 "
34
+ mamba-version : " 0.24 "
27
35
use-mamba : true
36
+ use-only-tar-bz2 : true
28
37
condarc-file : ci/condarc.yml
Original file line number Diff line number Diff line change 41
41
42
42
# Although asv sets up its own env, deps are still needed
43
43
# during discovery process
44
- -
uses :
conda-incubator/[email protected]
45
- with :
46
- activate-environment : pandas-dev
47
- channel-priority : strict
48
- environment-file : ${{ env.ENV_FILE }}
49
- use-only-tar-bz2 : true
50
- condarc-file : ci/condarc.yml
44
+ - name : Set up Conda
45
+ uses : ./.github/actions/setup-conda
51
46
52
47
- name : Run benchmarks
53
48
id : bench
Original file line number Diff line number Diff line change 58
58
path : ~/conda_pkgs_dir
59
59
key : ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
60
60
61
- -
uses :
conda-incubator/[email protected]
62
- with :
63
- mamba-version : " *"
64
- channels : conda-forge
65
- activate-environment : pandas-dev
66
- channel-priority : strict
67
- environment-file : ${{ env.ENV_FILE }}
68
- use-only-tar-bz2 : true
69
- condarc-file : ci/condarc.yml
61
+ - Name : Set up Conda
62
+ uses : ./.github/actions/setup-conda
70
63
71
64
- name : Build Pandas
72
65
id : build
@@ -128,15 +121,8 @@ jobs:
128
121
path : ~/conda_pkgs_dir
129
122
key : ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
130
123
131
- -
uses :
conda-incubator/[email protected]
132
- with :
133
- mamba-version : " *"
134
- channels : conda-forge
135
- activate-environment : pandas-dev
136
- channel-priority : strict
137
- environment-file : ${{ env.ENV_FILE }}
138
- use-only-tar-bz2 : true
139
- condarc-file : ci/condarc.yml
124
+ - name : Set up Conda
125
+ uses : ./.github/actions/setup-conda
140
126
141
127
- name : Build Pandas
142
128
id : build
Original file line number Diff line number Diff line change @@ -147,19 +147,11 @@ jobs:
147
147
# xsel for clipboard tests
148
148
run : sudo apt-get update && sudo apt-get install -y libc6-dev-i386 xsel ${{ env.EXTRA_APT }}
149
149
150
- -
uses :
conda-incubator/[email protected]
150
+ - name : Set up Conda
151
+ uses : ./.github/actions/setup-conda
151
152
with :
152
- mamba-version : " *"
153
- channels : conda-forge
154
- activate-environment : pandas-dev
155
- channel-priority : flexible
156
153
environment-file : ${{ env.ENV_FILE }}
157
- use-only-tar-bz2 : true
158
- condarc-file : ci/condarc.yml
159
-
160
- - name : Upgrade Arrow version
161
- run : conda install -n pandas-dev -c conda-forge --no-update-deps pyarrow=${{ matrix.pyarrow_version }}
162
- if : ${{ matrix.pyarrow_version }}
154
+ pyarrow-version : ${{ matrix.pyarrow_version }}
163
155
164
156
- name : Build Pandas
165
157
uses : ./.github/actions/build_pandas
Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ jobs:
59
59
name : ${{matrix.python-version}}-sdist.gz
60
60
path : dist/*.gz
61
61
62
- -
uses :
conda-incubator/[email protected]
62
+ - name : Set up Conda
63
+ uses : ./.github/actions/setup-conda
63
64
with :
64
- activate-environment : pandas-sdist
65
- channels : conda-forge
66
- python-version : ' ${{ matrix.python-version }}'
67
- condarc-file : ci/condarc.yml
65
+ environment-file : " "
66
+ environment-name : pandas-sdist
67
+ python-version : ${{ matrix.python-version }}
68
68
69
69
- name : Install pandas from sdist
70
70
run : |
You can’t perform that action at this time.
0 commit comments