@@ -23,10 +23,10 @@ defaults:
2323jobs :
2424 ubuntu :
2525 runs-on : ubuntu-22.04
26- timeout-minutes : 180
26+ timeout-minutes : 90
2727 strategy :
2828 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 ]
3030 # Prevent the include jobs from overriding other jobs
3131 pattern : [""]
3232 include :
6969 env_file : actions-311.yaml
7070 pattern : " not slow and not network and not single_cpu"
7171 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"
7288 - name : " Pypy"
7389 env_file : actions-pypy-39.yaml
7490 pattern : " not slow and not network and not single_cpu"
@@ -84,17 +100,18 @@ jobs:
84100 name : ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }}
85101 env :
86102 PATTERN : ${{ matrix.pattern }}
87- EXTRA_APT : ${{ matrix.extra_apt || '' }}
88103 LANG : ${{ matrix.lang || 'C.UTF-8' }}
89104 LC_ALL : ${{ matrix.lc_all || '' }}
90105 PANDAS_COPY_ON_WRITE : ${{ matrix.pandas_copy_on_write || '0' }}
91106 PANDAS_CI : ${{ matrix.pandas_ci || '1' }}
92107 TEST_ARGS : ${{ matrix.test_args || '' }}
93108 PYTEST_WORKERS : ' auto'
94109 PYTEST_TARGET : ${{ matrix.pytest_target || 'pandas' }}
110+ # Clipboard tests
111+ QT_QPA_PLATFORM : offscreen
95112 concurrency :
96113 # 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 || '' }}
98115 cancel-in-progress : true
99116
100117 services :
@@ -141,8 +158,8 @@ jobs:
141158 fetch-depth : 0
142159
143160 - 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 }}
146163
147164 - name : Generate extra locales
148165 # These extra locales will be available for locale.setlocale() calls in tests
@@ -173,11 +190,11 @@ jobs:
173190 if : ${{ matrix.pattern == '' && (always() && steps.build.outcome == 'success')}}
174191
175192 macos-windows :
176- timeout-minutes : 180
193+ timeout-minutes : 90
177194 strategy :
178195 matrix :
179196 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 ]
181198 fail-fast : false
182199 runs-on : ${{ matrix.os }}
183200 name : ${{ format('{0} {1}', matrix.os, matrix.env_file) }}
@@ -236,7 +253,7 @@ jobs:
236253 . ~/virtualenvs/pandas-dev/bin/activate
237254 python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.2.1 meson-python==0.13.1
238255 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
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
240257 python -m pip install --no-cache-dir --no-build-isolation -e .
241258 python -m pip list --no-cache-dir
242259 export PANDAS_CI=1
@@ -274,7 +291,7 @@ jobs:
274291 /opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
275292 . ~/virtualenvs/pandas-dev/bin/activate
276293 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
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
278295 python -m pip install --no-cache-dir --no-build-isolation -e .
279296 python -m pip list --no-cache-dir
280297
@@ -308,7 +325,7 @@ jobs:
308325 # To freeze this file, uncomment out the ``if: false`` condition, and migrate the jobs
309326 # to the corresponding posix/windows-macos/sdist etc. workflows.
310327 # 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
312329 defaults :
313330 run :
314331 shell : bash -eou pipefail {0}
@@ -318,7 +335,7 @@ jobs:
318335 matrix :
319336 os : [ubuntu-22.04, macOS-latest, windows-latest]
320337
321- timeout-minutes : 180
338+ timeout-minutes : 90
322339
323340 concurrency :
324341 # https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -347,7 +364,7 @@ jobs:
347364 python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1
348365 python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
349366 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
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
351368 python -m pip install -ve . --no-build-isolation --no-index --no-deps
352369 python -m pip list
353370
0 commit comments