@@ -22,21 +22,25 @@ defaults:
2222
2323jobs :
2424 ubuntu :
25- runs-on : ubuntu-22.04
25+ runs-on : ${{ matrix.platform }}
2626 timeout-minutes : 90
2727 strategy :
2828 matrix :
29+ platform : [ubuntu-22.04, ubuntu-24.04-arm]
2930 env_file : [actions-39.yaml, actions-310.yaml, actions-311.yaml, actions-312.yaml]
3031 # Prevent the include jobs from overriding other jobs
3132 pattern : [""]
33+ pandas_future_infer_string : ["0"]
3234 include :
3335 - name : " Downstream Compat"
3436 env_file : actions-311-downstream_compat.yaml
3537 pattern : " not slow and not network and not single_cpu"
3638 pytest_target : " pandas/tests/test_downstream.py"
39+ platform : ubuntu-22.04
3740 - name : " Minimum Versions"
3841 env_file : actions-39-minimum_versions.yaml
3942 pattern : " not slow and not network and not single_cpu"
43+ platform : ubuntu-22.04
4044 - name : " Locale: it_IT"
4145 env_file : actions-311.yaml
4246 pattern : " not slow and not network and not single_cpu"
4751 # Also install it_IT (its encoding is ISO8859-1) but do not activate it.
4852 # It will be temporarily activated during tests with locale.setlocale
4953 extra_loc : " it_IT"
54+ platform : ubuntu-22.04
5055 - name : " Locale: zh_CN"
5156 env_file : actions-311.yaml
5257 pattern : " not slow and not network and not single_cpu"
@@ -57,62 +62,86 @@ jobs:
5762 # Also install zh_CN (its encoding is gb2312) but do not activate it.
5863 # It will be temporarily activated during tests with locale.setlocale
5964 extra_loc : " zh_CN"
65+ platform : ubuntu-22.04
6066 - name : " Copy-on-Write 3.9"
6167 env_file : actions-39.yaml
6268 pattern : " not slow and not network and not single_cpu"
6369 pandas_copy_on_write : " 1"
70+ platform : ubuntu-22.04
6471 - name : " Copy-on-Write 3.10"
6572 env_file : actions-310.yaml
6673 pattern : " not slow and not network and not single_cpu"
6774 pandas_copy_on_write : " 1"
75+ platform : ubuntu-22.04
6876 - name : " Copy-on-Write 3.11"
6977 env_file : actions-311.yaml
7078 pattern : " not slow and not network and not single_cpu"
7179 pandas_copy_on_write : " 1"
80+ platform : ubuntu-22.04
7281 - name : " Copy-on-Write 3.12"
7382 env_file : actions-312.yaml
7483 pattern : " not slow and not network and not single_cpu"
7584 pandas_copy_on_write : " 1"
85+ platform : ubuntu-22.04
7686 - name : " Copy-on-Write 3.11 (warnings)"
7787 env_file : actions-311.yaml
7888 pattern : " not slow and not network and not single_cpu"
7989 pandas_copy_on_write : " warn"
90+ platform : ubuntu-22.04
8091 - name : " Copy-on-Write 3.10 (warnings)"
8192 env_file : actions-310.yaml
8293 pattern : " not slow and not network and not single_cpu"
8394 pandas_copy_on_write : " warn"
95+ platform : ubuntu-22.04
8496 - name : " Copy-on-Write 3.9 (warnings)"
8597 env_file : actions-39.yaml
8698 pattern : " not slow and not network and not single_cpu"
8799 pandas_copy_on_write : " warn"
100+ platform : ubuntu-22.04
101+ - name : " Future infer strings"
102+ env_file : actions-312.yaml
103+ pandas_future_infer_string : " 1"
104+ pandas_copy_on_write : " 1"
105+ platform : ubuntu-22.04
106+ - name : " Future infer strings (without pyarrow)"
107+ env_file : actions-311.yaml
108+ pandas_future_infer_string : " 1"
109+ pandas_copy_on_write : " 1"
110+ platform : ubuntu-22.04
88111 - name : " Pypy"
89112 env_file : actions-pypy-39.yaml
90113 pattern : " not slow and not network and not single_cpu"
91114 test_args : " --max-worker-restart 0"
115+ platform : ubuntu-22.04
92116 - name : " Numpy Dev"
93117 env_file : actions-311-numpydev.yaml
94118 pattern : " not slow and not network and not single_cpu"
95119 test_args : " -W error::DeprecationWarning -W error::FutureWarning"
120+ platform : ubuntu-22.04
96121 - name : " Pyarrow Nightly"
97122 env_file : actions-311-pyarrownightly.yaml
98123 pattern : " not slow and not network and not single_cpu"
124+ pandas_future_infer_string : " 1"
125+ pandas_copy_on_write : " 1"
126+ platform : ubuntu-22.04
99127 fail-fast : false
100- name : ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }}
128+ name : ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }}-${{ matrix.platform }}
101129 env :
102130 PATTERN : ${{ matrix.pattern }}
103131 LANG : ${{ matrix.lang || 'C.UTF-8' }}
104132 LC_ALL : ${{ matrix.lc_all || '' }}
105133 PANDAS_COPY_ON_WRITE : ${{ matrix.pandas_copy_on_write || '0' }}
106- PANDAS_CI : ${{ matrix.pandas_ci || '1' }}
134+ PANDAS_CI : ' 1'
135+ PANDAS_FUTURE_INFER_STRING : ${{ matrix.pandas_future_infer_string || '0' }}
107136 TEST_ARGS : ${{ matrix.test_args || '' }}
108137 PYTEST_WORKERS : ${{ matrix.pytest_workers || 'auto' }}
109138 PYTEST_TARGET : ${{ matrix.pytest_target || 'pandas' }}
110- NPY_PROMOTION_STATE : ${{ matrix.env_file == 'actions-311-numpydev.yaml' && 'weak' || 'legacy' }}
111139 # Clipboard tests
112140 QT_QPA_PLATFORM : offscreen
141+ REMOVE_PYARROW : ${{ matrix.name == 'Future infer strings (without pyarrow)' && '1' || '0' }}
113142 concurrency :
114143 # https://github.community/t/concurrecy-not-work-for-push/183068/7
115- group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.pattern }}-${{ matrix.extra_apt || '' }}-${{ matrix.pandas_copy_on_write || '' }}
144+ group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.pattern }}-${{ matrix.extra_apt || '' }}-${{ matrix.pandas_copy_on_write || '' }}-${{ matrix.pandas_future_infer_string }}-${{ matrix.platform }}
116145 cancel-in-progress : true
117146
118147 services :
0 commit comments