diff options
| author | JJ Liebig <jonathan.liebig@gmail.com> | 2026-09-05 20:39:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-05 21:39:32 +0300 |
| commit | 50ce4ec2ddb8ec621a77d8773aa6df6d9e7441ff (patch) | |
| tree | b61a6e636e31394334ba2ba8e04a34c6e46d4d1b /justfile | |
| parent | 6c52aad511b0fb601e6223bd6ad944f48cbdba6d (diff) | |
fix: run the full applicable test suite on windows (#3660)
* fix: run the full applicable test suite on windows
* test: remove redundant test shell assignment
* test: make endpoint and metadata fixtures deterministic
* test: tolerate exited servers during windows probe cleanup
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 22 |
1 files changed, 6 insertions, 16 deletions
@@ -1,4 +1,7 @@ # herdr task runner +set windows-shell := ["cmd.exe", "/d", "/s", "/c"] + +python := if os() == "windows" { "python" } else { "python3" } # Run tests test: @@ -11,21 +14,15 @@ test: # Run repository maintenance contract tests maintenance-test: - python3 -m unittest scripts.test_agent_detection_manifest_check scripts.test_changelog scripts.test_config_reference_check scripts.test_docs_translation_parity scripts.test_hermes_integration_asset scripts.test_package_windows_conpty scripts.test_preview scripts.test_unix_installer scripts.test_vendor_libghostty_vt scripts.test_vendor_portable_pty + {{python}} -m unittest scripts.test_agent_detection_manifest_check scripts.test_changelog scripts.test_config_reference_check scripts.test_docs_translation_parity scripts.test_hermes_integration_asset scripts.test_package_windows_conpty scripts.test_preview scripts.test_unix_installer scripts.test_vendor_libghostty_vt scripts.test_vendor_portable_pty # Run one nextest filter, e.g. `just test-one codex_stale_working` -[unix] test-one filter: cargo nextest run --locked "{{filter}}" --status-level fail --final-status-level fail --failure-output final --success-output never -[script("powershell.exe", "-NoProfile", "-ExecutionPolicy", "Bypass", "-File")] -[windows] -test-one filter: - cargo nextest run --locked --bin herdr "{{filter}}" --status-level fail --final-status-level fail --failure-output final --success-output never - # Enforce deterministic UI hot-path architecture boundaries ui-hot-path-architecture-test: - python3 -m unittest scripts.test_ui_hot_path_architecture + {{python}} -m unittest scripts.test_ui_hot_path_architecture # Run fast local lint checks [unix] @@ -39,7 +36,6 @@ lint: & .\scripts\windows_check.ps1 -Mode lint # Run PR CI checks -[unix] ci filter='all()': lint cargo nextest run --locked -E "{{filter}}" --status-level fail --final-status-level slow --failure-output final --success-output never just maintenance-test @@ -72,12 +68,6 @@ install-hooks: @echo "installed git hooks from .githooks" # Build release binary -[unix] -build: - cargo build --release --locked - -[script("powershell.exe", "-NoProfile", "-ExecutionPolicy", "Bypass", "-File")] -[windows] build: cargo build --release --locked @@ -92,7 +82,7 @@ bench-release-smoke: # Test public documentation snapshot and release lifecycle tooling docs-contract-test: - bun test scripts/docs/*.test.ts + bun test ./scripts/docs # Test bundled agent integration assets integration-assets-test: |
