mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-15 21:12:03 +00:00
test(training): add reproducible verification target
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.PHONY: verify-phase6 verify-enet-integration verify-steam-templates verify-supply-chain verify-kind-agones verify-allocated-compose verify-chaos-recovery verify-multiplayer-local verify-multiplayer-load verify-release-gate
|
||||
.PHONY: verify-phase6 verify-enet-integration verify-steam-templates verify-supply-chain verify-kind-agones verify-allocated-compose verify-chaos-recovery verify-multiplayer-local verify-multiplayer-load verify-release-gate verify-training
|
||||
|
||||
verify-multiplayer-local:
|
||||
bash scripts/verify_multiplayer_local.sh
|
||||
@@ -10,6 +10,10 @@ verify-release-gate:
|
||||
@test -n "$(RELEASE_REPORT)" || (echo "RELEASE_REPORT=/path/to/report.json is required" >&2; exit 2)
|
||||
python3 scripts/verify_release_gate.py "$(RELEASE_REPORT)"
|
||||
|
||||
verify-training:
|
||||
@test -x training/.venv/bin/python || (echo "training/.venv/bin/python is required; see TRAINING.md" >&2; exit 2)
|
||||
(cd training && .venv/bin/python -m unittest test_action_space.py test_evaluate.py test_generation5.py)
|
||||
|
||||
verify-phase6:
|
||||
bash scripts/verify_phase6.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user