test: isolate ordinary unit runs from ambient credentials and provider I/O
Assistant: codex Assistant-Model: gpt-6.1-sol Assistant-Session: 01a1468b-63fa-7710-85dc-8f2e16b3ebfa
This commit is contained in:
parent
922c26da0f
commit
b593c87983
14 changed files with 592 additions and 6 deletions
3
Makefile
3
Makefile
|
|
@ -1,5 +1,6 @@
|
|||
# ops-warden development and install targets
|
||||
ROOT := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
|
||||
UNIT_PYTHON ?= $(ROOT)/.venv/bin/python
|
||||
PHASE_MEMORY_REPO ?= $(abspath $(ROOT)/../phase-memory)
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
|
@ -43,7 +44,7 @@ verify-memory: check-memory
|
|||
@warden memory status
|
||||
|
||||
test:
|
||||
PYTHONPATH=src:$(PHASE_MEMORY_REPO)/src uv run pytest
|
||||
"$(UNIT_PYTHON)" -I scripts/run_unit_tests.py --phase-memory-root "$(PHASE_MEMORY_REPO)" $(TEST_ARGS)
|
||||
|
||||
lint:
|
||||
uv run ruff check .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue