Matt Clay
27033915cc
Add --list-targets and speed up --explain. ( #26838 )
...
* Add ansible-test --list-targets option.
* Speed up ansible-test integration --explain.
7 years ago
Matt Clay
e63f69464f
Add ansible-test options and docs. ( #26823 )
...
* All integration commands support --continue-on-error
* The network-integration command supports --inventory
* Add landing page for compile test docs.
* Add bot documentation links.
7 years ago
Matt Clay
7931e11437
Use subset of Windows tests for "all" tests. ( #26830 )
7 years ago
Matt Clay
789218c215
Initial ansible-test sanity docs. ( #26775 )
...
* Rename no-iterkeys test for consistency.
* Require docs for all ansible-test sanity tests.
* Initial ansible-test sanity docs.
* Fix capitalization of Python.
* Fix sanity code smell test false positives.
* Fix another code-smell false positive.
7 years ago
Pilou
4b3d6dfa8a
Use pycodestyle instead of pep8 ( #25947 )
7 years ago
Matt Clay
fad469efca
Ignore platform_agnostic.yaml in ansible-test.
7 years ago
Matt Clay
0b784c65b1
Add sanity import test to ansible-test. ( #26730 )
...
* Add sanity import test to ansible-test.
* Run sanity import test on all python versions.
7 years ago
Matt Clay
20d49af475
Add ANSIBLE_TEST_CI env var to integration tests.
7 years ago
Matt Clay
ab5dd24430
Handle pip/python errors in ansible-test better.
7 years ago
Matt Clay
82558baaf6
Add role dependencies to change classification.
7 years ago
Matt Clay
4a013d6d69
Add RHEL 7.3 to ansible-test and CI. ( #26550 )
...
* Add support for RHEL to ansible-test.
* Enable RHEL 7.3 on Shippable.
7 years ago
David Newswanger
294c0f91c0
added option to ansible-test to run test playbooks using the debug strategy ( #26499 )
7 years ago
Matt Clay
a94156227d
Improve error handling for cs tests.
7 years ago
Matt Clay
45e377566c
Refactor ansible-test config classes. ( #26505 )
...
* Move Config classes from executor.py to config.py.
* Move Environment and Test config to config.py.
* Move Coverage/CoverageReport Config to config.py.
* Clean up type hints.
7 years ago
Matt Clay
bd8ea89b1b
Improve handling of network test changes.
7 years ago
Matt Clay
c26a556929
Add check for known_hosts changing during tests. ( #26470 )
...
* Add check for known_hosts changing during tests.
* Don't use known hosts file for delegate_to test.
7 years ago
Matt Clay
fba76444e0
Add `ansible-test coverage report --show-missing`.
7 years ago
David Newswanger
0a6dcf4169
changed ansible-test so that it replaces . with - instead of . with _ so that the hostname is valid
7 years ago
Matt Clay
cd3a795e65
Permissions fix for remote coverage downloads.
7 years ago
Matt Clay
554423cf04
Expose docker socket to test containers.
7 years ago
René Moser
77d0542985
test, integration: add diff support ( #26296 )
7 years ago
Pierre-Louis Bonicoli
d08ff86169
ansible-test: pass --[skip-]tags to ansible-playbook
...
Thanks to Olaf Klischat for the idea.
7 years ago
Matt Clay
e56ea435f0
Skip dependency check for deleted files. ( #26112 )
7 years ago
David Newswanger
b2d88f8b73
updated ansible-test integration to skip any files in test/integration/targets/ that aren't directories.
...
Fixes #26007
7 years ago
jctanner
996dcb989c
Add the cloud provider script for the vcenter simulator container ( #25964 )
7 years ago
Matt Clay
53180ebb57
Fix Shippable BASE_BRANCH lookup on merges.
8 years ago
Matt Clay
5babe2daea
Increase python version coverage for tests. ( #24762 )
...
* Improve ansible-test inventory handling.
* Fix python 3 re-raise of exception from thread.
* Fix python 3 encoding for windows-integration.
* Run network tests on multiple python versions.
* Run windows tests on multiple python versions.
* Support Shippable delegation using --tox.
* Skip vyos_command on python 3 tests until fixed.
* Add python 3 filtering to local and tox.
* Fix tests to support back to back runs.
* Temporarily test networking with python 2.7 only.
Running the tests back to back causes intermittent test failures
which need to be addressed before we can test multiple versions
in a single test run.
8 years ago
Matt Clay
4daa16f9ce
Add --all and --stub coverage options.
...
ci_coverage
ci_complete
8 years ago
Matt Clay
6a2a7a2392
Enable codecov.io and add coverage grouping.
8 years ago
Matt Clay
fdcad0f44d
Improve on-demand coverage for Shippable.
8 years ago
John R Barker
e9e2d67035
Run vyos_command Network tests in Shippable ( #24514 )
...
* Run VyOS Network tests in Shippable
* net_command no longer exists
* network/ci
* Disable other network tests
* pep8 fix
* Fix PEP 8 issue.
8 years ago
Matt Clay
dfd19a812f
Miscellaneous bug fixes for ansible-test.
...
- Overhauled coverage injector to fix issues with non-local tests.
- Updated integration tests to work with the new coverage injector.
- Fix concurrency issue by using random temp files for delegation.
- Fix handling of coverage files from root user.
- Fix handling of coverage files without arcs.
- Make sure temp copy of injector is world readable and executable.
8 years ago
Matt Clay
fb9efd3c7e
Add `--remote-terminate` option to ansible-test.
...
Set `--remote-terminate success` for osx tests.
8 years ago
Matt Clay
b8cb3f519b
Detect and fix environment tampering in tests.
8 years ago
Matt Clay
e6934e42be
Update ansible-test change handling and CS plugin. ( #24395 )
...
* Use CloudStack simulator from Ansible repo.
* Recognize cloud specific ansible-test changes.
* Hide ansible-test cs notice in explain mode.
8 years ago
Matt Clay
0573b8bcd2
Fix ansible-test cloud integration bugs.
8 years ago
Matt Clay
ac72fd9d2c
Add missing return statements.
8 years ago
Matt Clay
201242f302
Fix call to wrong method in ansible-test.
8 years ago
Matt Clay
1582e9bf7d
Fix handling of Shippable env vars.
8 years ago
Matt Clay
a07d42e16d
Add support for cloud tests to ansible-test. ( #24315 )
...
* Split out ansible-test docker functions.
* Add cloud support to ansible-test.
8 years ago
Matt Clay
6522d703a1
Fix ansible-test pylint and pep8 issues. ( #24245 )
...
* Fix pylint useless-super-delegation issues.
* Fix miscellaneous pylint issues.
* Fix PEP 8 issues.
* Fix warnings reported by PyCharm.
8 years ago
Matt Clay
d662f6f0db
Fix bugs in ansible-test units command. ( #24044 )
...
* Handle old versions of coverage.
* Handle old versions of setuptools.
* Detect python version for docker/remote units.
* Add sanity override for test constraints.
8 years ago
Matt Clay
cb1f57d4e5
Add rstcheck to ansible-test and correct issues. ( #23550 )
...
* Add rstcheck to ansible-test.
* Fix rst code-block languages and syntax errors.
* Fix rst inline literals.
* Update python 2 code block to pass tests on py 3.
8 years ago
Matt Clay
92ad9a19b6
Fix ansible-test empty diff handling on Shippable.
8 years ago
Matt Clay
0cf1e8e061
Fix ansible-test handling of import/syntax errors.
8 years ago
Matt Clay
1daa69d685
Initial pylint support for ansible-test sanity.
8 years ago
Matt Clay
4fdeade389
Overhaul ansible-test import analysis. ( #22888 )
...
- Add support for module_utils packages for better organization.
- Add support for "virtual" module_utils packages such as `six`.
8 years ago
Matt Clay
042e387f27
Fix metadata handling for shell command. ( #22801 )
8 years ago
Matt Clay
991bf0a1c3
Fix ansible-test base branch handling on merge. ( #22759 )
8 years ago
Matt Clay
47887a2edd
Fix ansible-test base branch usage on Shippable.
8 years ago