Test placement (#21801)
* Fix test placement and update messaging. * Add note about group selection.
This commit is contained in:
parent
b5e0eb0985
commit
cba91c7f44
10 changed files with 9 additions and 1 deletions
|
@ -46,12 +46,20 @@ def main():
|
|||
|
||||
%s
|
||||
|
||||
Unless a test cannot run as part of CI, you'll want to add an appropriate CI alias, such as:
|
||||
If these tests cannot be run as part of CI (requires external services, unsupported dependencies, etc.),
|
||||
then they most likely belong in `test/integration/roles/` instead of `test/integration/targets/`.
|
||||
In that case, do not add an `aliases` file. Instead, just relocate the tests.
|
||||
|
||||
However, if you think that the tests should be able to be supported by CI, please discuss test
|
||||
organization with @mattclay or @gundalow on GitHub or #ansible-devel on IRC.
|
||||
|
||||
If these tests can be run as part of CI, you'll need to add an appropriate CI alias, such as:
|
||||
|
||||
posix/ci/group1
|
||||
windows/ci/group2
|
||||
|
||||
The CI groups are used to balance tests across multiple jobs to minimize test run time.
|
||||
Using the relevant `group1` entry is fine in most cases. Groups can be changed later to redistribute tests.
|
||||
|
||||
Aliases can also be used to express test requirements:
|
||||
|
||||
|
|
Loading…
Reference in a new issue