20
20
runs-on : ubuntu-latest
21
21
defaults :
22
22
run :
23
- shell : bash -l {0}
23
+ shell : bash -el {0}
24
24
timeout-minutes : 120
25
25
strategy :
26
26
matrix :
@@ -30,14 +30,15 @@ jobs:
30
30
# even if tests are skipped/xfailed
31
31
pyarrow_version : ["5", "7"]
32
32
include :
33
- - env_file : actions-38-downstream_compat.yaml
33
+ - name : " Downstream Compat"
34
+ env_file : actions-38-downstream_compat.yaml
34
35
pattern : " not slow and not network and not single_cpu"
35
36
pytest_target : " pandas/tests/test_downstream.py"
36
- name : " Downstream Compat "
37
- - env_file : actions-38-minimum_versions.yaml
37
+ - name : " Minimum Versions "
38
+ env_file : actions-38-minimum_versions.yaml
38
39
pattern : " not slow and not network and not single_cpu"
39
- name : " Minimum Versions "
40
- - env_file : actions-38.yaml
40
+ - name : " Locale: it_IT.utf8 "
41
+ env_file : actions-38.yaml
41
42
pattern : " not slow and not network and not single_cpu"
42
43
extra_apt : " language-pack-it"
43
44
# Use the utf8 version as the default, it has no bad side-effect.
46
47
# Also install it_IT (its encoding is ISO8859-1) but do not activate it.
47
48
# It will be temporarily activated during tests with locale.setlocale
48
49
extra_loc : " it_IT"
49
- name : " Locale: it_IT "
50
- - env_file : actions-38.yaml
50
+ - name : " Locale: zh_CN.utf8 "
51
+ env_file : actions-38.yaml
51
52
pattern : " not slow and not network and not single_cpu"
52
53
extra_apt : " language-pack-zh-hans"
53
54
# Use the utf8 version as the default, it has no bad side-effect.
@@ -56,20 +57,19 @@ jobs:
56
57
# Also install zh_CN (its encoding is gb2312) but do not activate it.
57
58
# It will be temporarily activated during tests with locale.setlocale
58
59
extra_loc : " zh_CN"
59
- name : " Locale: zh_CN "
60
- - env_file : actions-38.yaml
60
+ - name : " Data Manager "
61
+ env_file : actions-38.yaml
61
62
pattern : " not slow and not network and not single_cpu"
62
63
pandas_data_manager : " array"
63
- name : " Data Manager "
64
- - env_file : actions-pypy-38.yaml
64
+ - name : " Pypy "
65
+ env_file : actions-pypy-38.yaml
65
66
pattern : " not slow and not network and not single_cpu"
66
67
test_args : " --max-worker-restart 0"
67
- name : " Pypy "
68
- - env_file : actions-310-numpydev.yaml
68
+ - name : " Numpy Dev "
69
+ env_file : actions-310-numpydev.yaml
69
70
pattern : " not slow and not network and not single_cpu"
70
71
pandas_testing_mode : " deprecate"
71
72
test_args : " -W error"
72
- name : " Numpy Dev"
73
73
fail-fast : false
74
74
name : ${{ matrix.name || format('{0} pyarrow={1} {2}', matrix.env_file, matrix.pyarrow_version, matrix.pattern) }}
75
75
env :
@@ -130,12 +130,12 @@ jobs:
130
130
131
131
steps :
132
132
- name : Checkout
133
- uses : actions/checkout@v2
133
+ uses : actions/checkout@v3
134
134
with :
135
135
fetch-depth : 0
136
136
137
137
- name : Cache conda
138
- uses : actions/cache@v2
138
+ uses : actions/cache@v3
139
139
env :
140
140
CACHE_NUMBER : 0
141
141
with :
@@ -153,7 +153,7 @@ jobs:
153
153
sudo locale-gen ${{ env.EXTRA_LOC }}
154
154
if : ${{ env.EXTRA_LOC != '' }}
155
155
156
- - uses : conda-incubator/setup-miniconda@v2
156
+ - uses : conda-incubator/setup-miniconda@v2.1.1
157
157
with :
158
158
mamba-version : " *"
159
159
channels : conda-forge
@@ -168,16 +168,15 @@ jobs:
168
168
if : ${{ matrix.pyarrow_version }}
169
169
170
170
- name : Setup PyPy
171
- uses : actions/setup-python@v2
171
+ uses : actions/setup-python@v3
172
172
with :
173
173
python-version : " pypy-3.8"
174
174
if : ${{ env.IS_PYPY == 'true' }}
175
175
176
176
- name : Setup PyPy dependencies
177
- shell : bash
178
177
run : |
179
178
# TODO: re-enable cov, its slowing the tests down though
180
- pip install Cython numpy python-dateutil pytz pytest>=6.0 pytest-xdist>=1.31.0 pytest-asyncio hypothesis>=5.5.3
179
+ pip install Cython numpy python-dateutil pytz pytest>=6.0 pytest-xdist>=1.31.0 pytest-asyncio>=0.17 hypothesis>=5.5.3
181
180
if : ${{ env.IS_PYPY == 'true' }}
182
181
183
182
- name : Build Pandas
@@ -193,7 +192,7 @@ jobs:
193
192
run : pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd
194
193
195
194
- name : Publish test results
196
- uses : actions/upload-artifact@v2
195
+ uses : actions/upload-artifact@v3
197
196
with :
198
197
name : Test results
199
198
path : test-data.xml
0 commit comments