@@ -22,21 +22,25 @@ defaults:
22
22
23
23
jobs :
24
24
ubuntu :
25
- runs-on : ubuntu-22.04
25
+ runs-on : ${{ matrix.platform }}
26
26
timeout-minutes : 90
27
27
strategy :
28
28
matrix :
29
+ platform : [ubuntu-22.04, ubuntu-24.04-arm]
29
30
env_file : [actions-39.yaml, actions-310.yaml, actions-311.yaml, actions-312.yaml]
30
31
# Prevent the include jobs from overriding other jobs
31
32
pattern : [""]
33
+ pandas_future_infer_string : ["0"]
32
34
include :
33
35
- name : " Downstream Compat"
34
36
env_file : actions-311-downstream_compat.yaml
35
37
pattern : " not slow and not network and not single_cpu"
36
38
pytest_target : " pandas/tests/test_downstream.py"
39
+ platform : ubuntu-22.04
37
40
- name : " Minimum Versions"
38
41
env_file : actions-39-minimum_versions.yaml
39
42
pattern : " not slow and not network and not single_cpu"
43
+ platform : ubuntu-22.04
40
44
- name : " Locale: it_IT"
41
45
env_file : actions-311.yaml
42
46
pattern : " not slow and not network and not single_cpu"
47
51
# Also install it_IT (its encoding is ISO8859-1) but do not activate it.
48
52
# It will be temporarily activated during tests with locale.setlocale
49
53
extra_loc : " it_IT"
54
+ platform : ubuntu-22.04
50
55
- name : " Locale: zh_CN"
51
56
env_file : actions-311.yaml
52
57
pattern : " not slow and not network and not single_cpu"
@@ -57,62 +62,86 @@ jobs:
57
62
# Also install zh_CN (its encoding is gb2312) but do not activate it.
58
63
# It will be temporarily activated during tests with locale.setlocale
59
64
extra_loc : " zh_CN"
65
+ platform : ubuntu-22.04
60
66
- name : " Copy-on-Write 3.9"
61
67
env_file : actions-39.yaml
62
68
pattern : " not slow and not network and not single_cpu"
63
69
pandas_copy_on_write : " 1"
70
+ platform : ubuntu-22.04
64
71
- name : " Copy-on-Write 3.10"
65
72
env_file : actions-310.yaml
66
73
pattern : " not slow and not network and not single_cpu"
67
74
pandas_copy_on_write : " 1"
75
+ platform : ubuntu-22.04
68
76
- name : " Copy-on-Write 3.11"
69
77
env_file : actions-311.yaml
70
78
pattern : " not slow and not network and not single_cpu"
71
79
pandas_copy_on_write : " 1"
80
+ platform : ubuntu-22.04
72
81
- name : " Copy-on-Write 3.12"
73
82
env_file : actions-312.yaml
74
83
pattern : " not slow and not network and not single_cpu"
75
84
pandas_copy_on_write : " 1"
85
+ platform : ubuntu-22.04
76
86
- name : " Copy-on-Write 3.11 (warnings)"
77
87
env_file : actions-311.yaml
78
88
pattern : " not slow and not network and not single_cpu"
79
89
pandas_copy_on_write : " warn"
90
+ platform : ubuntu-22.04
80
91
- name : " Copy-on-Write 3.10 (warnings)"
81
92
env_file : actions-310.yaml
82
93
pattern : " not slow and not network and not single_cpu"
83
94
pandas_copy_on_write : " warn"
95
+ platform : ubuntu-22.04
84
96
- name : " Copy-on-Write 3.9 (warnings)"
85
97
env_file : actions-39.yaml
86
98
pattern : " not slow and not network and not single_cpu"
87
99
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
88
111
- name : " Pypy"
89
112
env_file : actions-pypy-39.yaml
90
113
pattern : " not slow and not network and not single_cpu"
91
114
test_args : " --max-worker-restart 0"
115
+ platform : ubuntu-22.04
92
116
- name : " Numpy Dev"
93
117
env_file : actions-311-numpydev.yaml
94
118
pattern : " not slow and not network and not single_cpu"
95
119
test_args : " -W error::DeprecationWarning -W error::FutureWarning"
120
+ platform : ubuntu-22.04
96
121
- name : " Pyarrow Nightly"
97
122
env_file : actions-311-pyarrownightly.yaml
98
123
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
99
127
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 }}
101
129
env :
102
130
PATTERN : ${{ matrix.pattern }}
103
131
LANG : ${{ matrix.lang || 'C.UTF-8' }}
104
132
LC_ALL : ${{ matrix.lc_all || '' }}
105
133
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' }}
107
136
TEST_ARGS : ${{ matrix.test_args || '' }}
108
137
PYTEST_WORKERS : ${{ matrix.pytest_workers || 'auto' }}
109
138
PYTEST_TARGET : ${{ matrix.pytest_target || 'pandas' }}
110
- NPY_PROMOTION_STATE : ${{ matrix.env_file == 'actions-311-numpydev.yaml' && 'weak' || 'legacy' }}
111
139
# Clipboard tests
112
140
QT_QPA_PLATFORM : offscreen
141
+ REMOVE_PYARROW : ${{ matrix.name == 'Future infer strings (without pyarrow)' && '1' || '0' }}
113
142
concurrency :
114
143
# 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 }}
116
145
cancel-in-progress : true
117
146
118
147
services :
0 commit comments