38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
name: test-validate
|
|
version: 1
|
|
description: Validate tests are runnable and non-failing by default
|
|
runtime: script
|
|
input:
|
|
state: test-write-pending
|
|
tags_required: []
|
|
required_artifacts: [test_file]
|
|
output:
|
|
state: test-validated
|
|
scope_budget:
|
|
files_modified_max: 1
|
|
lines_diff_max: 50
|
|
wall_clock_seconds_max: 600
|
|
agent_repo:
|
|
url: "git@gitea.oreillyit.nz-ai-enablement:skynet/agent-runtimes.git"
|
|
nodes:
|
|
- id: preflight-test-collection
|
|
kind: script
|
|
cmd: scripts/workflow/preflight-test-collection
|
|
on_fail: refuse_dispatch
|
|
- id: preflight-fixture-lint
|
|
kind: script
|
|
cmd: scripts/workflow/preflight-fixture-lint
|
|
on_fail: refuse_dispatch
|
|
- id: preflight-test-fail-mode
|
|
kind: script
|
|
cmd: scripts/workflow/preflight-test-fail-mode
|
|
on_fail: continue
|
|
- id: state-tx
|
|
kind: script
|
|
cmd: scripts/workflow/state-tx
|
|
on_fail: continue
|
|
runtime_env:
|
|
CP_URL: "https://agents.oreillyit.nz/api"
|
|
STATE_TX_NEW_STATE: test-validated
|
|
STATE_TX_FROM_STATES: test-write-pending
|