File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed
Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -euo pipefail
3+
4+ repeat_count=" ${1:- 5} "
5+
6+ asyncio_progress_args=(
7+ tests/test_asyncio_progress.py
8+ )
9+
10+ run_step_execution_args=(
11+ tests/test_run_step_execution.py
12+ -k
13+ " cancel or post_invoke"
14+ )
15+
16+ for run in $( seq 1 " $repeat_count " ) ; do
17+ echo " Async teardown stability run ${run} /${repeat_count} "
18+ uv run pytest -q " ${asyncio_progress_args[@]} "
19+ uv run pytest -q " ${run_step_execution_args[@]} "
20+ done
Original file line number Diff line number Diff line change 9797 - name : Run tests
9898 if : steps.changes.outputs.run == 'true' && matrix.python-version != '3.12'
9999 run : make tests
100+ - name : Run async teardown stability tests
101+ if : steps.changes.outputs.run == 'true' && (matrix.python-version == '3.10' || matrix.python-version == '3.14')
102+ run : make tests-asyncio-stability
100103 - name : Skip tests
101104 if : steps.changes.outputs.run != 'true'
102105 run : echo "Skipping tests for non-code changes."
Original file line number Diff line number Diff line change 2222.PHONY : tests
2323tests : tests-parallel tests-serial
2424
25+ .PHONY : tests-asyncio-stability
26+ tests-asyncio-stability :
27+ bash .github/scripts/run-asyncio-teardown-stability.sh
28+
2529.PHONY : tests-parallel
2630tests-parallel :
2731 uv run pytest -n auto --dist loadfile -m " not serial"
You can’t perform that action at this time.
0 commit comments