File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,15 @@ jobs:
205
205
path : dist
206
206
merge-multiple : true
207
207
208
+ - name : Set up Xcode
209
+ # GitHub recommends explicitly selecting the desired Xcode version:
210
+ # https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140
211
+ # This became a necessity as a result of
212
+ # https://github.com/actions/runner-images/issues/12541 and
213
+ # https://github.com/actions/runner-images/issues/12751.
214
+ run : |
215
+ sudo xcode-select --switch /Applications/Xcode_16.4.app
216
+
208
217
- name : Set up Python
209
218
210
219
with :
@@ -233,6 +242,14 @@ jobs:
233
242
# - test_ctypes as a test of FFI
234
243
python -m testbed run --verbose ${{ matrix.testbed-args }} -- test --single-process --rerun -W test_builtin test_grammar test_os test_bz2 test_ctypes
235
244
245
+ # This step is only needed if you're trying to diagnose test failures that
246
+ # only occur in CI, and can't be reproduced locally. When it runs, it will
247
+ # open an SSH server (URL reported in the logs) so you can ssh into the CI
248
+ # machine.
249
+ - name : Setup tmate session
250
+ uses : mxschmitt/action-tmate@v3
251
+ if : failure()
252
+
236
253
crossenv-test :
237
254
name : Cross-platform env test (${{ matrix.multiarch }})
238
255
runs-on : macOS-latest
You can’t perform that action at this time.
0 commit comments