mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-31 16:21:50 +03:00
test(ci): serialize Windows lifecycle checks
This commit is contained in:
@@ -96,9 +96,9 @@ jobs:
|
|||||||
os: windows-latest
|
os: windows-latest
|
||||||
python-version: "3.14"
|
python-version: "3.14"
|
||||||
coverage: false
|
coverage: false
|
||||||
# Real PowerShell/process-tree tests are run serially below. Keep
|
# Process lifecycle tests run serially below. Keep them out of
|
||||||
# them out of xdist so workers never share a Windows console.
|
# xdist so workers never share Windows console or process state.
|
||||||
pytest_args: "-n 2 --dist loadfile -vv --full-trace --ignore=tests/tools/test_exec_platform.py"
|
pytest_args: "-n 2 --dist loadfile --ignore=tests/gateway/test_runtime.py --ignore=tests/tools/test_exec_platform.py"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -148,10 +148,11 @@ jobs:
|
|||||||
${{ matrix.pytest_args }}
|
${{ matrix.pytest_args }}
|
||||||
--durations=25 --durations-min=1.0
|
--durations=25 --durations-min=1.0
|
||||||
|
|
||||||
- name: Run Windows process compatibility tests
|
- name: Run Windows lifecycle compatibility tests
|
||||||
if: always() && runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: >-
|
run: >-
|
||||||
uv run --no-sync python -m pytest
|
uv run --no-sync python -m pytest
|
||||||
|
tests/gateway/test_runtime.py
|
||||||
tests/tools/test_exec_platform.py
|
tests/tools/test_exec_platform.py
|
||||||
--durations=25 --durations-min=1.0
|
--durations=25 --durations-min=1.0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user