@@ -33,15 +33,10 @@ jobs:
33
33
run : |
34
34
git config --global user.email "[email protected] "
35
35
git config --global user.name "Pandas Development Team"
36
- - name : Setting conda path
37
- run : echo ::add-path::$CONDA/bin
38
- - name : Update conda
39
- run : |
40
- conda config --set quiet true --set always_yes true
41
- conda update -n base -c defaults conda
42
- conda list
43
36
- name : Checkout pandas-release
44
37
uses : actions/checkout@v2
38
+ - name : Update conda
39
+ uses : ./.github/actions/update-conda
45
40
- name : Update conda environment for release process
46
41
run : |
47
42
conda env update -n base --file=environment.yml
@@ -83,20 +78,15 @@ jobs:
83
78
sudo apt-get update
84
79
sudo apt-get install -y build-essential
85
80
sudo apt-get clean
86
- - name : Setting conda path
87
- run : echo ::add-path::$CONDA/bin
81
+ - name : Checkout pandas-release
82
+ uses : actions/checkout@v2
88
83
- name : Update conda
89
- run : |
90
- conda config --set quiet true --set always_yes true
91
- conda update -n base -c defaults conda
92
- conda list
84
+ uses : ./.github/actions/update-conda
93
85
- name : Update conda environment for build process
94
86
run : |
95
87
conda install -y conda-build conda-verify gcc_linux-64 gxx_linux-64 numpy pytz python-dateutil nomkl Cython
96
88
conda clean --all
97
89
conda list
98
- - name : Checkout pandas-release
99
- uses : actions/checkout@v2
100
90
- name : get pandas directory from artifacts
101
91
uses : actions/download-artifact@v2
102
92
with :
@@ -123,13 +113,10 @@ jobs:
123
113
needs : build-sdist
124
114
runs-on : ubuntu-latest
125
115
steps :
126
- - name : Setting conda path
127
- run : echo ::add-path::$CONDA/bin
116
+ - name : Checkout pandas-release
117
+ uses : actions/checkout@v2
128
118
- name : Update conda
129
- run : |
130
- conda config --set quiet true --set always_yes true
131
- conda update -n base -c defaults conda
132
- conda list
119
+ uses : ./.github/actions/update-conda
133
120
- name : Create conda environment
134
121
run : |
135
122
conda create -n pip-test -y python=3.7 numpy pytz python-dateutil pytest pytest-mock hypothesis nomkl
@@ -162,20 +149,15 @@ jobs:
162
149
env :
163
150
PANDAS_VERSION : ${{ github.event.inputs.version }}
164
151
steps :
165
- - name : Setting conda path
166
- run : echo ::add-path::$CONDA/bin
152
+ - name : Checkout pandas-release
153
+ uses : actions/checkout@v2
167
154
- name : Update conda
168
- run : |
169
- conda config --set quiet true --set always_yes true
170
- conda update -n base -c defaults conda
171
- conda list
155
+ uses : ./.github/actions/update-conda
172
156
- name : Create conda environment
173
157
run : |
174
158
conda create -n conda-build -y conda-build conda-verify gcc_linux-64 gxx_linux-64
175
159
conda clean --all
176
160
conda list
177
- - name : Checkout pandas-release
178
- uses : actions/checkout@v2
179
161
- name : get sdist from artifacts
180
162
uses : actions/download-artifact@v2
181
163
with :
0 commit comments