26
26
strategy :
27
27
matrix :
28
28
env_file : [actions-38.yaml, actions-39.yaml, actions-310.yaml, actions-311.yaml]
29
- pattern : ["not single_cpu", "single_cpu"]
30
- pyarrow_version : ["8", "9", "10"]
31
- pandas_ci : [1]
29
+ # Prevent the include jobs from overriding other jobs
30
+ pattern : [""]
32
31
include :
33
32
- name : " Downstream Compat"
34
33
env_file : actions-38-downstream_compat.yaml
61
60
env_file : actions-310.yaml
62
61
pattern : " not slow and not network and not single_cpu"
63
62
pandas_copy_on_write : " 1"
64
- - name : " Data Manager"
65
- env_file : actions-38.yaml
66
- pattern : " not slow and not network and not single_cpu"
67
- pandas_data_manager : " array"
68
63
- name : " Pypy"
69
64
env_file : actions-pypy-38.yaml
70
65
pattern : " not slow and not network and not single_cpu"
@@ -75,40 +70,26 @@ jobs:
75
70
test_args : " -W error::DeprecationWarning -W error::FutureWarning"
76
71
# TODO(cython3): Re-enable once next-beta(after beta 1) comes out
77
72
# There are some warnings failing the build with -werror
78
- pandas_ci : 0
79
- exclude :
80
- - env_file : actions-38.yaml
81
- pyarrow_version : " 8"
82
- - env_file : actions-38.yaml
83
- pyarrow_version : " 9"
84
- - env_file : actions-39.yaml
85
- pyarrow_version : " 8"
86
- - env_file : actions-39.yaml
87
- pyarrow_version : " 9"
88
- - env_file : actions-310.yaml
89
- pyarrow_version : " 8"
90
- - env_file : actions-310.yaml
91
- pyarrow_version : " 9"
73
+ pandas_ci : " 0"
74
+ - name : " Pyarrow Nightly"
75
+ env_file : actions-311-pyarrownightly.yaml
76
+ pattern : " not slow and not network and not single_cpu"
92
77
fail-fast : false
93
- name : ${{ matrix.name || format('{0} pyarrow={1} {2}', matrix.env_file, matrix.pyarrow_version, matrix.pattern) }}
78
+ name : ${{ matrix.name || matrix.env_file }}
94
79
env :
95
80
ENV_FILE : ci/deps/${{ matrix.env_file }}
96
81
PATTERN : ${{ matrix.pattern }}
97
82
EXTRA_APT : ${{ matrix.extra_apt || '' }}
98
83
LANG : ${{ matrix.lang || '' }}
99
84
LC_ALL : ${{ matrix.lc_all || '' }}
100
- PANDAS_DATA_MANAGER : ${{ matrix.pandas_data_manager || 'block' }}
101
85
PANDAS_COPY_ON_WRITE : ${{ matrix.pandas_copy_on_write || '0' }}
102
- PANDAS_CI : ${{ matrix.pandas_ci }}
86
+ PANDAS_CI : ${{ matrix.pandas_ci || '1' }}
103
87
TEST_ARGS : ${{ matrix.test_args || '' }}
104
- PYTEST_WORKERS : ${{ contains(matrix.pattern, 'not single_cpu') && ' auto' || '1' }}
88
+ PYTEST_WORKERS : ' auto'
105
89
PYTEST_TARGET : ${{ matrix.pytest_target || 'pandas' }}
106
- IS_PYPY : ${{ contains(matrix.env_file, 'pypy') }}
107
- # TODO: re-enable coverage on pypy, its slow
108
- COVERAGE : ${{ !contains(matrix.env_file, 'pypy') }}
109
90
concurrency :
110
91
# https://github.community/t/concurrecy-not-work-for-push/183068/7
111
- group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.pattern }}-${{ matrix.pyarrow_version || '' }}-${{ matrix. extra_apt || '' }}-${{ matrix.pandas_data_manager || '' }}
92
+ group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.pattern }}-${{ matrix.extra_apt || '' }}
112
93
cancel-in-progress : true
113
94
114
95
services :
@@ -167,12 +148,21 @@ jobs:
167
148
uses : ./.github/actions/setup-conda
168
149
with :
169
150
environment-file : ${{ env.ENV_FILE }}
170
- pyarrow-version : ${{ matrix.pyarrow_version }}
171
151
172
152
- name : Build Pandas
153
+ id : build
173
154
uses : ./.github/actions/build_pandas
174
155
175
- - name : Test
156
+ - name : Test (not single_cpu)
157
+ uses : ./.github/actions/run-tests
158
+ if : ${{ matrix.name != 'Pypy' }}
159
+ env :
160
+ # Set pattern to not single_cpu if not already set
161
+ PATTERN : ${{ env.PATTERN == '' && 'not single_cpu' || matrix.pattern }}
162
+
163
+ - name : Test (single_cpu)
176
164
uses : ./.github/actions/run-tests
177
- # TODO: Don't continue on error for PyPy
178
- continue-on-error : ${{ env.IS_PYPY == 'true' }}
165
+ env :
166
+ PATTERN : ' single_cpu'
167
+ PYTEST_WORKERS : 1
168
+ if : ${{ matrix.pattern == '' && (always() && steps.build.outcome == 'success')}}
0 commit comments