5
5
branches :
6
6
- main
7
7
tags :
8
- - ' ** '
8
+ - " ** "
9
9
pull_request : {}
10
10
11
11
env :
38
38
make build-dev
39
39
env:
40
40
RUST_BACKTRACE: 1
41
- RUSTFLAGS: ' -C instrument-coverage'
41
+ RUSTFLAGS: " -C instrument-coverage"
42
42
43
43
- run : uv pip freeze
44
44
@@ -63,17 +63,17 @@ jobs:
63
63
fail-fast : false
64
64
matrix :
65
65
python-version :
66
- - ' 3.9'
67
- - ' 3.10'
68
- - ' 3.11'
69
- - ' 3.12'
70
- - ' 3.13'
71
- - ' 3.14'
72
- - ' 3.14t'
73
- - ' pypy3.10'
74
- - ' pypy3.11'
75
- - ' graalpy-3.11'
76
- - ' graalpy-3.12'
66
+ - " 3.9"
67
+ - " 3.10"
68
+ - " 3.11"
69
+ - " 3.12"
70
+ - " 3.13"
71
+ - " 3.14"
72
+ - " 3.14t"
73
+ - " pypy3.10"
74
+ - " pypy3.11"
75
+ - " graalpy-3.11"
76
+ - " graalpy-3.12"
77
77
78
78
runs-on : ubuntu-latest
79
79
@@ -189,8 +189,8 @@ jobs:
189
189
fail-fast : false
190
190
matrix :
191
191
python-version :
192
- - ' 3.13'
193
- - ' pypy3.10'
192
+ - " 3.13"
193
+ - " pypy3.10"
194
194
195
195
steps :
196
196
- uses : actions/checkout@v5
@@ -274,7 +274,7 @@ jobs:
274
274
# used to lint js code
275
275
- uses : actions/setup-node@v5
276
276
with :
277
- node-version : ' 18 '
277
+ node-version : " 18 "
278
278
279
279
- name : install uv
280
280
uses : astral-sh/setup-uv@v6
@@ -306,7 +306,7 @@ jobs:
306
306
307
307
- uses : actions/setup-python@v6
308
308
with :
309
- python-version : ' 3.13'
309
+ python-version : " 3.13"
310
310
311
311
- run : pip install typing_extensions
312
312
@@ -333,7 +333,7 @@ jobs:
333
333
# NOTE!: as per https://github.com/pydantic/pydantic-core/pull/149 this version needs to match the version
334
334
# in node_modules/pyodide/pyodide-lock.json, to get the version, run:
335
335
# `cat node_modules/pyodide/pyodide-lock.json | jq .info.platform`
336
- version : ' 3.1.58'
336
+ version : " 3.1.58"
337
337
actions-cache-folder : emsdk-cache
338
338
339
339
- name : install uv
@@ -347,7 +347,7 @@ jobs:
347
347
348
348
- uses : actions/setup-node@v5
349
349
with :
350
- node-version : ' 18 '
350
+ node-version : " 18 "
351
351
352
352
- run : npm install
353
353
@@ -365,7 +365,16 @@ jobs:
365
365
# https://github.com/marketplace/actions/alls-green#why used for branch protection checks
366
366
check :
367
367
if : always()
368
- needs : [coverage, test-python, test-os, test-debug, lint, bench, build-wasm-emscripten]
368
+ needs :
369
+ [
370
+ coverage,
371
+ test-python,
372
+ test-os,
373
+ test-debug,
374
+ lint,
375
+ bench,
376
+ build-wasm-emscripten,
377
+ ]
369
378
runs-on : ubuntu-latest
370
379
steps :
371
380
- name : Decide whether the needed jobs succeeded or failed
@@ -381,7 +390,7 @@ jobs:
381
390
- uses : actions/checkout@v5
382
391
- uses : actions/setup-python@v6
383
392
with :
384
- python-version : ' 3.13'
393
+ python-version : " 3.13"
385
394
- uses : PyO3/maturin-action@v1
386
395
with :
387
396
command : sdist
@@ -480,7 +489,7 @@ jobs:
480
489
- name : set up python
481
490
uses : actions/setup-python@v6
482
491
with :
483
- python-version : ' 3.13'
492
+ python-version : " 3.13"
484
493
architecture : ${{ matrix.python-architecture || 'x64' }}
485
494
486
495
- run : pip install -U twine 'ruff==0.5.0' typing_extensions
@@ -511,7 +520,8 @@ jobs:
511
520
fail-fast : false
512
521
matrix :
513
522
os : [linux, windows, macos]
514
- interpreter : ['3.9', '3.10', '3.11', '3.12', '3.13', '3.13t', '3.14', '3.14t']
523
+ interpreter :
524
+ ["3.9", "3.10", "3.11", "3.12", "3.13", "3.13t", "3.14", "3.14t"]
515
525
include :
516
526
# standard runners with override for macos arm
517
527
- os : linux
@@ -524,7 +534,7 @@ jobs:
524
534
exclude :
525
535
# macos arm only supported from 3.10 and up
526
536
- os : macos
527
- interpreter : ' 3.9'
537
+ interpreter : " 3.9"
528
538
529
539
runs-on : ${{ matrix.runs-on }}
530
540
steps :
@@ -596,7 +606,7 @@ jobs:
596
606
fail-fast : false
597
607
matrix :
598
608
target : [armv7, s390x, ppc64le]
599
- distro : [' ubuntu22.04' ]
609
+ distro : [" ubuntu22.04" ]
600
610
include :
601
611
- target : aarch64
602
612
distro : alpine_latest
@@ -636,7 +646,7 @@ jobs:
636
646
source $HOME/.local/bin/env
637
647
uv sync --frozen --group testing --no-install-project
638
648
uv pip install pydantic-core --no-index --no-deps --find-links dist --force-reinstall
639
- uv run --no-sync pytest --ignore=tests/test_docstrings.py --hypothesis-profile=fast
649
+ uv run --no-sync pytest --ignore=tests/test_docstrings.py
640
650
uv run --no-sync python -c 'import pydantic_core._pydantic_core; print(pydantic_core._pydantic_core.__version__)'
641
651
642
652
test-builds-os :
0 commit comments