File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9191 fail-fast : false
9292 matrix :
9393 include :
94- - tox_env : py314-parallel
95- name : " 3.14"
96- coverage_name : " 3.14"
9794 - tox_env : pydantic20
9895 name : pydantic20
9996 coverage_name : pydantic20
@@ -254,6 +251,19 @@ jobs:
254251 fail-fast : false
255252 matrix :
256253 include :
254+ - tox_env : py314-parallel
255+ name : " 3.14"
256+ os : ubuntu-24.04
257+ coverage : true
258+ shard : 1
259+ shard_total : 2
260+ extra_tests : tests/cli_doc/test_cli_options_sync.py
261+ - tox_env : py314-parallel
262+ name : " 3.14"
263+ os : ubuntu-24.04
264+ coverage : true
265+ shard : 2
266+ shard_total : 2
257267 - tox_env : py313-parallel
258268 name : " 3.13"
259269 os : ubuntu-24.04
@@ -392,6 +402,7 @@ jobs:
392402 SHARD_INDEX : ${{ matrix.shard }}
393403 SHARD_TOTAL : ${{ matrix.shard_total }}
394404 TOX_ENV : ${{ matrix.tox_env }}
405+ EXTRA_TESTS : ${{ matrix.extra_tests }}
395406 steps :
396407 - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
397408 with :
@@ -415,6 +426,9 @@ jobs:
415426 python scripts/select_ci_test_shard.py --write-recipe .tox/ci-shard-recipe.json
416427 python scripts/select_ci_test_shard.py "$SHARD_INDEX" "$SHARD_TOTAL" \
417428 --recipe .tox/ci-shard-recipe.json | tee .tox/ci-shard-tests.txt
429+ if [ -n "$EXTRA_TESTS" ]; then
430+ printf '%s\n' "$EXTRA_TESTS" >> .tox/ci-shard-tests.txt
431+ fi
418432 shell : bash
419433 - name : Run sharded test suite
420434 run : |
You can’t perform that action at this time.
0 commit comments