1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/runner
Matt Clay 7b4bc572de
Fix ansible-test target dependency issues. (#50908)
* Log dependencies at verbosity level 4.

This makes it easier to debug target dependency issues.

* Scan symlinks for target dependencies.

Some test targets use symlinks to files in other test targets.
These dependencies were previously undetected. This could result in
changes made to dependencies without triggering the dependent tests.

* Track missing target deps with `needs/target/*`.

Some existing test targets have untracked dependencies on other
test targets. This can result in changes to those dependencies
not triggering their dependent tests, resulting in test failures
after a PR is merged.

This PR adds the appropriate `needs/target/*` aliases to track
those dependencies, along with appropriate processing in
ansible-test to handle the new aliases.

* Scan meta dependencies in script targets.

Script targets are often former role targets which were converted
to allow custom invocations of ansible-playbook. These targets still
have their meta dependencies, but they were not being detected.

This could result in changes to dependencies not triggering the
targets which depend on them.
2019-01-14 19:57:32 -08:00
..
completion ansible-test - swap Fedora 25 for 29 (#49634) 2018-12-07 12:00:23 +10:00
injector Fix ansible-test invocation of pytest. 2018-11-01 09:45:17 -07:00
lib Fix ansible-test target dependency issues. (#50908) 2019-01-14 19:57:32 -08:00
requirements Updated test constraints for mock assert_called() and assert_called_once() 2019-01-14 14:17:01 -08:00
setup Add virtualenv symlink for RHEL 8. 2018-12-07 08:53:10 -08:00
units Add test verification to ansible-test. (#22636) 2017-03-15 12:17:42 -07:00
ansible-test Make ansible-test available in the bin directory. (#45876) 2018-09-19 17:58:55 -07:00
Makefile Convert ansible-test compile into a sanity test. 2018-01-25 09:45:36 -08:00
retry.py Fix ansible-test pylint and pep8 issues. (#24245) 2017-05-03 23:19:44 +08:00
shippable.py Improve ansible-test HttpClient error handling. (#30301) 2017-09-13 12:23:48 -07:00
tox.ini allow ANSIBLE_KEEP_REMOTE_FILES for local test runner (#33357) 2018-03-06 16:28:06 -08:00
versions.py Revert "Relax ansible-test python version checking." 2018-11-14 17:39:00 -08:00