Fix ansible-test self-test change classification.
Changes to sanity and unit tests now trigger the ansible-test self-test integration tests. No changelog entry since this only affects tests for ansible itself and not collections.
This commit is contained in:
parent
7f62a9d7b5
commit
b53e7f8720
1 changed files with 5 additions and 0 deletions
|
@ -769,26 +769,31 @@ class PathMapper:
|
|||
if path.startswith('test/lib/ansible_test/_internal/sanity/'):
|
||||
return {
|
||||
'sanity': 'all', # test infrastructure, run all sanity checks
|
||||
'integration': 'ansible-test', # run ansible-test self tests
|
||||
}
|
||||
|
||||
if path.startswith('test/lib/ansible_test/_data/sanity/'):
|
||||
return {
|
||||
'sanity': 'all', # test infrastructure, run all sanity checks
|
||||
'integration': 'ansible-test', # run ansible-test self tests
|
||||
}
|
||||
|
||||
if path.startswith('test/lib/ansible_test/_internal/units/'):
|
||||
return {
|
||||
'units': 'all', # test infrastructure, run all unit tests
|
||||
'integration': 'ansible-test', # run ansible-test self tests
|
||||
}
|
||||
|
||||
if path.startswith('test/lib/ansible_test/_data/units/'):
|
||||
return {
|
||||
'units': 'all', # test infrastructure, run all unit tests
|
||||
'integration': 'ansible-test', # run ansible-test self tests
|
||||
}
|
||||
|
||||
if path.startswith('test/lib/ansible_test/_data/pytest/'):
|
||||
return {
|
||||
'units': 'all', # test infrastructure, run all unit tests
|
||||
'integration': 'ansible-test', # run ansible-test self tests
|
||||
}
|
||||
|
||||
if path.startswith('test/lib/ansible_test/_data/requirements/'):
|
||||
|
|
Loading…
Reference in a new issue