@@ -23,10 +23,10 @@ defaults:
23
23
jobs :
24
24
ubuntu :
25
25
runs-on : ubuntu-22.04
26
- timeout-minutes : 180
26
+ timeout-minutes : 90
27
27
strategy :
28
28
matrix :
29
- env_file : [actions-39.yaml, actions-310.yaml, actions-311.yaml]
29
+ env_file : [actions-39.yaml, actions-310.yaml, actions-311.yaml, actions-312.yaml ]
30
30
# Prevent the include jobs from overriding other jobs
31
31
pattern : [""]
32
32
include :
69
69
env_file : actions-311.yaml
70
70
pattern : " not slow and not network and not single_cpu"
71
71
pandas_copy_on_write : " 1"
72
+ - name : " Copy-on-Write 3.12"
73
+ env_file : actions-312.yaml
74
+ pattern : " not slow and not network and not single_cpu"
75
+ pandas_copy_on_write : " 1"
76
+ - name : " Copy-on-Write 3.11 (warnings)"
77
+ env_file : actions-311.yaml
78
+ pattern : " not slow and not network and not single_cpu"
79
+ pandas_copy_on_write : " warn"
80
+ - name : " Copy-on-Write 3.10 (warnings)"
81
+ env_file : actions-310.yaml
82
+ pattern : " not slow and not network and not single_cpu"
83
+ pandas_copy_on_write : " warn"
84
+ - name : " Copy-on-Write 3.9 (warnings)"
85
+ env_file : actions-39.yaml
86
+ pattern : " not slow and not network and not single_cpu"
87
+ pandas_copy_on_write : " warn"
72
88
- name : " Pypy"
73
89
env_file : actions-pypy-39.yaml
74
90
pattern : " not slow and not network and not single_cpu"
@@ -84,17 +100,18 @@ jobs:
84
100
name : ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }}
85
101
env :
86
102
PATTERN : ${{ matrix.pattern }}
87
- EXTRA_APT : ${{ matrix.extra_apt || '' }}
88
103
LANG : ${{ matrix.lang || 'C.UTF-8' }}
89
104
LC_ALL : ${{ matrix.lc_all || '' }}
90
105
PANDAS_COPY_ON_WRITE : ${{ matrix.pandas_copy_on_write || '0' }}
91
106
PANDAS_CI : ${{ matrix.pandas_ci || '1' }}
92
107
TEST_ARGS : ${{ matrix.test_args || '' }}
93
108
PYTEST_WORKERS : ' auto'
94
109
PYTEST_TARGET : ${{ matrix.pytest_target || 'pandas' }}
110
+ # Clipboard tests
111
+ QT_QPA_PLATFORM : offscreen
95
112
concurrency :
96
113
# https://github.community/t/concurrecy-not-work-for-push/183068/7
97
- group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.pattern }}-${{ matrix.extra_apt || '' }}
114
+ group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.pattern }}-${{ matrix.extra_apt || '' }}-${{ matrix.pandas_copy_on_write || '' }}
98
115
cancel-in-progress : true
99
116
100
117
services :
@@ -141,8 +158,8 @@ jobs:
141
158
fetch-depth : 0
142
159
143
160
- name : Extra installs
144
- # xsel for clipboard tests
145
- run : sudo apt-get update && sudo apt-get install -y xsel ${{ env.EXTRA_APT }}
161
+ run : sudo apt-get update && sudo apt-get install -y ${{ matrix.extra_apt }}
162
+ if : ${{ matrix.extra_apt }}
146
163
147
164
- name : Generate extra locales
148
165
# These extra locales will be available for locale.setlocale() calls in tests
@@ -173,11 +190,11 @@ jobs:
173
190
if : ${{ matrix.pattern == '' && (always() && steps.build.outcome == 'success')}}
174
191
175
192
macos-windows :
176
- timeout-minutes : 180
193
+ timeout-minutes : 90
177
194
strategy :
178
195
matrix :
179
196
os : [macos-latest, windows-latest]
180
- env_file : [actions-39.yaml, actions-310.yaml, actions-311.yaml]
197
+ env_file : [actions-39.yaml, actions-310.yaml, actions-311.yaml, actions-312.yaml ]
181
198
fail-fast : false
182
199
runs-on : ${{ matrix.os }}
183
200
name : ${{ format('{0} {1}', matrix.os, matrix.env_file) }}
@@ -236,8 +253,8 @@ jobs:
236
253
. ~/virtualenvs/pandas-dev/bin/activate
237
254
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.2.1 meson-python==0.13.1
238
255
python -m pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
239
- python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
240
- python -m pip install --no-cache-dir --no-build-isolation -e .
256
+ python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
257
+ python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
241
258
python -m pip list --no-cache-dir
242
259
export PANDAS_CI=1
243
260
python -m pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml
@@ -274,8 +291,8 @@ jobs:
274
291
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
275
292
. ~/virtualenvs/pandas-dev/bin/activate
276
293
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1
277
- python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
278
- python -m pip install --no-cache-dir --no-build-isolation -e .
294
+ python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
295
+ python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
279
296
python -m pip list --no-cache-dir
280
297
281
298
- name : Run Tests
@@ -308,7 +325,7 @@ jobs:
308
325
# To freeze this file, uncomment out the ``if: false`` condition, and migrate the jobs
309
326
# to the corresponding posix/windows-macos/sdist etc. workflows.
310
327
# Feel free to modify this comment as necessary.
311
- # if: false # Uncomment this to freeze the workflow, comment it to unfreeze
328
+ if : false # Uncomment this to freeze the workflow, comment it to unfreeze
312
329
defaults :
313
330
run :
314
331
shell : bash -eou pipefail {0}
@@ -318,7 +335,7 @@ jobs:
318
335
matrix :
319
336
os : [ubuntu-22.04, macOS-latest, windows-latest]
320
337
321
- timeout-minutes : 180
338
+ timeout-minutes : 90
322
339
323
340
concurrency :
324
341
# https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -347,8 +364,8 @@ jobs:
347
364
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1
348
365
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
349
366
python -m pip install versioneer[toml]
350
- python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov pytest-asyncio>=0.17
351
- python -m pip install -ve . --no-build-isolation --no-index --no-deps
367
+ python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov
368
+ python -m pip install -ve . --no-build-isolation --no-index --no-deps --config-settings=setup-args="--werror"
352
369
python -m pip list
353
370
354
371
- name : Run Tests
0 commit comments