9501f7589a
Introduce new IR plugin option '--failfast' to abort execution at the first failing workflow step Change-Id: Ia79968cf7846f33fdaa05ac5bd511b614ae0784a
23 lines
530 B
YAML
23 lines
530 B
YAML
---
|
|
|
|
- name: "include test workflow steps for name '{{ test_workflow }}'"
|
|
include_vars: "test-workflow-{{ test_workflow }}.yaml"
|
|
|
|
|
|
- name: "show test workflow steps"
|
|
debug: var=test_workflow_steps
|
|
|
|
|
|
- name: "run '{{ test_workflow }}' test steps"
|
|
include_tasks: run.yaml
|
|
loop: '{{ test_workflow_steps }}'
|
|
loop_control:
|
|
label: '{{ test_step.tox_description }}'
|
|
loop_var: test_step
|
|
|
|
|
|
- name: "report test step failures"
|
|
debug: var=test_step_failures
|
|
when: '(test_step_failures | length) > 0'
|
|
failed_when: yes
|