tobiko/roles/tobiko-run/tasks/main.yaml
Federico Ressi 9501f7589a Continue running workflow steps after step failures
Introduce new IR plugin option '--failfast' to abort
execution at the first failing workflow step

Change-Id: Ia79968cf7846f33fdaa05ac5bd511b614ae0784a
2020-05-04 16:25:43 +02:00

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