@@ -24,10 +24,10 @@ jobs:
24
24
cancel-in-progress : true
25
25
steps :
26
26
- name : Checkout
27
- uses : actions/checkout@v2
27
+ uses : actions/checkout@v3
28
28
29
29
- name : Install Python
30
- uses : actions/setup-python@v2
30
+ uses : actions/setup-python@v3
31
31
with :
32
32
python-version : ' 3.9.7'
33
33
39
39
runs-on : ubuntu-latest
40
40
defaults :
41
41
run :
42
- shell : bash -l {0}
42
+ shell : bash -el {0}
43
43
44
44
concurrency :
45
45
# https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -48,17 +48,17 @@ jobs:
48
48
49
49
steps :
50
50
- name : Checkout
51
- uses : actions/checkout@v2
51
+ uses : actions/checkout@v3
52
52
with :
53
53
fetch-depth : 0
54
54
55
55
- name : Cache conda
56
- uses : actions/cache@v2
56
+ uses : actions/cache@v3
57
57
with :
58
58
path : ~/conda_pkgs_dir
59
59
key : ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
60
60
61
- - uses : conda-incubator/setup-miniconda@v2
61
+ - uses : conda-incubator/setup-miniconda@v2.1.1
62
62
with :
63
63
mamba-version : " *"
64
64
channels : conda-forge
@@ -68,13 +68,13 @@ jobs:
68
68
use-only-tar-bz2 : true
69
69
70
70
- name : Install node.js (for pyright)
71
- uses : actions/setup-node@v2
71
+ uses : actions/setup-node@v3
72
72
with :
73
73
node-version : " 16"
74
74
75
75
- name : Install pyright
76
76
# note: keep version in sync with .pre-commit-config.yaml
77
- run :
npm install -g [email protected] .212
77
+ run :
npm install -g [email protected] .230
78
78
79
79
- name : Build Pandas
80
80
id : build
@@ -105,7 +105,7 @@ jobs:
105
105
runs-on : ubuntu-latest
106
106
defaults :
107
107
run :
108
- shell : bash -l {0}
108
+ shell : bash -el {0}
109
109
110
110
concurrency :
111
111
# https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -114,17 +114,17 @@ jobs:
114
114
115
115
steps :
116
116
- name : Checkout
117
- uses : actions/checkout@v2
117
+ uses : actions/checkout@v3
118
118
with :
119
119
fetch-depth : 0
120
120
121
121
- name : Cache conda
122
- uses : actions/cache@v2
122
+ uses : actions/cache@v3
123
123
with :
124
124
path : ~/conda_pkgs_dir
125
125
key : ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
126
126
127
- - uses : conda-incubator/setup-miniconda@v2
127
+ - uses : conda-incubator/setup-miniconda@v2.1.1
128
128
with :
129
129
mamba-version : " *"
130
130
channels : conda-forge
@@ -140,29 +140,19 @@ jobs:
140
140
- name : Run ASV benchmarks
141
141
run : |
142
142
cd asv_bench
143
- asv check -E existing
144
- git remote add upstream https://github.com/pandas-dev/pandas.git
145
- git fetch upstream
146
143
asv machine --yes
147
- asv dev | sed "/failed$/ s/^/##[error]/" | tee benchmarks.log
144
+ # TODO add `--durations` when we start using asv >= 0.5 (#46598)
145
+ asv run --quick --dry-run --python=same | sed "/failed$/ s/^/##[error]/" | tee benchmarks.log
148
146
if grep "failed" benchmarks.log > /dev/null ; then
149
147
exit 1
150
148
fi
151
- if : ${{ steps.build.outcome == 'success' }}
152
-
153
- - name : Publish benchmarks artifact
154
- uses : actions/upload-artifact@v2
155
- with :
156
- name : Benchmarks log
157
- path : asv_bench/benchmarks.log
158
- if : failure()
159
149
160
150
build_docker_dev_environment :
161
151
name : Build Docker Dev Environment
162
152
runs-on : ubuntu-latest
163
153
defaults :
164
154
run :
165
- shell : bash -l {0}
155
+ shell : bash -el {0}
166
156
167
157
concurrency :
168
158
# https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -174,7 +164,7 @@ jobs:
174
164
run : docker image prune -f
175
165
176
166
- name : Checkout
177
- uses : actions/checkout@v2
167
+ uses : actions/checkout@v3
178
168
with :
179
169
fetch-depth : 0
180
170
0 commit comments