Skip to content

Commit 0ccc2a6

Browse files
CodeAbraclaudexnllllh
committed
ci: run tests sequentially (native ext is not fork-safe) and drop a stale governance-label assertion [no-user-impact]
Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: XNLLLLH <XNLLLLH@users.noreply.github.com>
1 parent 1296640 commit 0ccc2a6

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
python -m pip install --upgrade pip
3030
pip install -e ".[dev]"
3131
- name: Correctness gate
32-
run: pytest -n auto --dist loadscope --timeout=600 -m "not perf and not slow and not live"
32+
run: pytest --timeout=600 -m "not perf and not slow and not live"
3333
- name: Build wheel
3434
run: pip wheel . --no-deps -w dist
3535

tests/test_shell_install.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,11 @@ def test_shell_scripts_have_skip_branch() -> None:
9999
text = SYSTEMD_SCRIPT.read_text()
100100
assert "SKIP: not Linux" in text, "systemd script missing Linux skip branch"
101101

102-
def test_shell_scripts_check_c4_invariant() -> None:
102+
def test_shell_scripts_check_cleanup_invariant() -> None:
103103
for script in (LAUNCHD_SCRIPT, SYSTEMD_SCRIPT):
104104
if not script.exists():
105105
continue
106106
text = script.read_text()
107-
assert "C4" in text, f"{script.name} missing C4 reference"
108107
assert ".lock" in text, f"{script.name} does not check lock file removal"
109108
assert ".daemon.sock" in text or "SOCK" in text, (
110109
f"{script.name} does not check socket file removal"

0 commit comments

Comments
 (0)