Run sanity test cases in gate workflow

Change-Id: I99786d5bc8206eeb76644b35caa3e293efcd42e1
This commit is contained in:
Federico Ressi 2021-12-16 12:59:26 +01:00
parent 2e7e8b71e5
commit 1f5ee536bf
1 changed files with 14 additions and 10 deletions

View File

@ -4,33 +4,37 @@ test_workflow_steps:
- tox_description: 'run unit test cases'
tox_envlist: py3
tox_step_name: unit
tox_environment:
TOX_RERUNS: 0
- tox_description: 'run functional test cases'
tox_envlist: functional
tox_step_name: functional
tox_environment:
TOX_RERUNS: 2
TOX_RERUNS_DELAY: 60
- tox_description: 'create workload resources'
tox_envlist: scenario
tox_step_name: create_resources
tox_environment:
TOX_RERUNS: 2
TOX_RERUNS_DELAY: 60
TOBIKO_PREVENT_CREATE: no
- tox_description: 'run sanity test cases before disruptive test cases'
tox_envlist: sanity
tox_step_name: before_faults
tox_environment:
TOBIKO_PREVENT_CREATE: no
- tox_description: 'run disruptive test cases'
tox_envlist: faults
tox_step_name: faults
tox_environment:
TOX_RERUNS: 0
TOBIKO_PREVENT_CREATE: no
- tox_description: 'run sanity test cases after disruptive test cases'
tox_envlist: sanity
tox_step_name: after_faults
tox_environment:
TOBIKO_PREVENT_CREATE: no
- tox_description: 'verify workload resources'
tox_envlist: scenario
tox_step_name: verify_resources
tox_environment:
TOBIKO_PREVENT_CREATE: yes
TOX_RERUNS: 2
TOX_RERUNS_DELAY: 60