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,38 +30,38 @@ 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
lang : " it_IT.utf8"
44
45
lc_all : " it_IT.utf8"
45
- name : " Locale: it_IT .utf8"
46
- - env_file : actions-38.yaml
46
+ - name : " Locale: zh_CN .utf8"
47
+ env_file : actions-38.yaml
47
48
pattern : " not slow and not network and not single_cpu"
48
49
extra_apt : " language-pack-zh-hans"
49
50
lang : " zh_CN.utf8"
50
51
lc_all : " zh_CN.utf8"
51
- name : " Locale: zh_CN.utf8 "
52
- - env_file : actions-38.yaml
52
+ - name : " Data Manager "
53
+ env_file : actions-38.yaml
53
54
pattern : " not slow and not network and not single_cpu"
54
55
pandas_data_manager : " array"
55
- name : " Data Manager "
56
- - env_file : actions-pypy-38.yaml
56
+ - name : " Pypy "
57
+ env_file : actions-pypy-38.yaml
57
58
pattern : " not slow and not network and not single_cpu"
58
59
test_args : " --max-worker-restart 0"
59
- name : " Pypy "
60
- - env_file : actions-310-numpydev.yaml
60
+ - name : " Numpy Dev "
61
+ env_file : actions-310-numpydev.yaml
61
62
pattern : " not slow and not network and not single_cpu"
62
63
pandas_testing_mode : " deprecate"
63
64
test_args : " -W error"
64
- name : " Numpy Dev"
65
65
fail-fast : false
66
66
name : ${{ matrix.name || format('{0} pyarrow={1} {2}', matrix.env_file, matrix.pyarrow_version, matrix.pattern) }}
67
67
env :
@@ -121,12 +121,12 @@ jobs:
121
121
122
122
steps :
123
123
- name : Checkout
124
- uses : actions/checkout@v2
124
+ uses : actions/checkout@v3
125
125
with :
126
126
fetch-depth : 0
127
127
128
128
- name : Cache conda
129
- uses : actions/cache@v2
129
+ uses : actions/cache@v3
130
130
env :
131
131
CACHE_NUMBER : 0
132
132
with :
@@ -138,7 +138,7 @@ jobs:
138
138
# xsel for clipboard tests
139
139
run : sudo apt-get update && sudo apt-get install -y libc6-dev-i386 xsel ${{ env.EXTRA_APT }}
140
140
141
- - uses : conda-incubator/setup-miniconda@v2
141
+ - uses : conda-incubator/setup-miniconda@v2.1.1
142
142
with :
143
143
mamba-version : " *"
144
144
channels : conda-forge
@@ -153,16 +153,15 @@ jobs:
153
153
if : ${{ matrix.pyarrow_version }}
154
154
155
155
- name : Setup PyPy
156
- uses : actions/setup-python@v2
156
+ uses : actions/setup-python@v3
157
157
with :
158
158
python-version : " pypy-3.8"
159
159
if : ${{ env.IS_PYPY == 'true' }}
160
160
161
161
- name : Setup PyPy dependencies
162
- shell : bash
163
162
run : |
164
163
# TODO: re-enable cov, its slowing the tests down though
165
- pip install Cython numpy python-dateutil pytz pytest>=6.0 pytest-xdist>=1.31.0 hypothesis>=5.5.3
164
+ pip install Cython numpy python-dateutil pytz pytest>=6.0 pytest-xdist>=1.31.0 pytest-asyncio>=0.17 hypothesis>=5.5.3
166
165
if : ${{ env.IS_PYPY == 'true' }}
167
166
168
167
- name : Build Pandas
@@ -178,7 +177,7 @@ jobs:
178
177
run : pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd
179
178
180
179
- name : Publish test results
181
- uses : actions/upload-artifact@v2
180
+ uses : actions/upload-artifact@v3
182
181
with :
183
182
name : Test results
184
183
path : test-data.xml
0 commit comments