mirror of
https://github.com/herdrdev/herdr.git
synced 2026-09-22 00:01:06 +00:00
ci: run maintenance checks in pull requests
This commit is contained in:
@@ -3,12 +3,16 @@
|
||||
# Run tests
|
||||
test:
|
||||
cargo nextest run --locked --status-level fail --final-status-level fail --failure-output final --success-output never
|
||||
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
|
||||
just maintenance-test
|
||||
just ui-hot-path-architecture-test
|
||||
just integration-assets-test
|
||||
just plugin-marketplace-test
|
||||
just docs-contract-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
|
||||
|
||||
# Run one nextest filter, e.g. `just test-one codex_stale_working`
|
||||
[unix]
|
||||
test-one filter:
|
||||
@@ -38,6 +42,7 @@ lint:
|
||||
[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
|
||||
just ui-hot-path-architecture-test
|
||||
just integration-assets-test
|
||||
just plugin-marketplace-test
|
||||
@@ -48,10 +53,9 @@ windows-lint:
|
||||
rustup target add x86_64-pc-windows-msvc
|
||||
LIBGHOSTTY_VT_SIMD=false cargo clippy --bin herdr --locked --target x86_64-pc-windows-msvc -- -D warnings
|
||||
|
||||
# Check formatting + run unit tests + Windows target lint + maintenance script tests
|
||||
# Check formatting + run unit tests + Windows target lint + documentation contract tests
|
||||
[unix]
|
||||
check: ci windows-lint
|
||||
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
|
||||
just docs-contract-test
|
||||
@echo "docs reminder: if this changes user-facing behavior, make sure the relevant release docs are updated or called out before release."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user