Matt Clay
4ea8d9a782
ansible-test - split controller/target testing ( #75605 )
3 years ago
jctanner
f11b1454bb
prepare for future ansibot collection changes ( #68944 )
5 years ago
jctanner
c067beecda
disable bot notification spam ( #68460 )
...
* disable bot notification spam
* add new key to botmeta sanity
5 years ago
Matt Clay
b26ceb57ce
Remove file exists check from botmeta sanity test.
...
Many of the paths in botmeta will no longer exist after migration, making this check pointless.
5 years ago
John R Barker
322a4dc691
BOTMETA migrated_to should be namespace.collection ( #64029 )
5 years ago
Martin Krizek
c4b83619a6
botmeta sanity: check migrated_to on non-existing file ( #64551 )
5 years ago
John R Barker
1e8765f0d9
BOTMETA support migrated_to ( #63952 )
...
* BOTMETA support migrated_to
Allow BOTMETA to define if this part of the codebase has moved
into a Collection on Galaxy.
See also https://github.com/ansible/ansible/pull/63935
* Enforce migrated_to URL format
* pep8
5 years ago
Matt Clay
18867847f4
Split up "code smell" sanity tests. ( #60174 )
...
* Relocate ansible-only sanity tests.
* Get "code smell" sanity tests from multiple dirs.
- `test/lib/ansible_test/_data/sanity/code-smell/` - General purpose tests used for both Ansible and Ansible Collections.
- `test/sanity/code-smell/` - Tests specific to Ansible, will not be used for Ansible Collections.
5 years ago
Matt Clay
d651bda123
Relocate ansible-test code. ( #60147 )
...
* Initial move of `test/runner/` content.
`test/runner/lib/` -> `test/lib/ansible_test/_internal/`
`test/runner/` -> `test/lib/ansible_test/_internal/data/`
* Initial move of `test/sanity/` content.
`test/sanity/` -> `test/lib/ansible_test/_internal/data/sanity/` (except `test/sanity/ignore.txt`)
* Initial move of `test/units/pytest/` content.
`test/units/pytest/` -> `test/lib/ansible_test/_internal/data/pytest/`
* Follow-up move of `test/runner/unit/` content.
`test/lib/ansible_test/_internal/data/unit/` -> `test/lib/ansible_test/tests/unit/`
* Initial move of `ansible.cfg` content.
`test/units/ansible.cfg` -> `test/lib/ansible_test/_internal/data/units/ansible.cfg`
`test/env/ansible.cfg` -> `test/lib/ansible_test/_internal/data/env/ansible.cfg`
* Follow-up move of `data` directory.
`test/lib/ansible_test/_internal/data/` -> `test/lib/ansible_test/_data/`
* Update import statements.
* Add missing __init__.py for unit tests.
* Fix path references and miscellaneous issues.
5 years ago
Matt Clay
6645054329
Code cleanup for test infrastructure. ( #59046 )
...
* Remove useless object inheritance in test code.
* Remove unnecessary pass statements from test code.
* Comment on why certain pylint rules are ignored.
* Add more pylint test contexts.
* Fix import order.
* Remove unused variables.
* Remove unnecessary pass statement.
* Fix bad continuations.
* Remove unnecessary elif.
* Allow legitimate broad except statements.
* Allow legitimate protected access.
* Clean up names to make pylint pass.
5 years ago
Matt Clay
3f2b766d10
Add future and metaclass boilerplate to test code.
...
Continue to ignore:
- test/integration/
- test/legacy/
- test/units/
5 years ago
Jordan Borean
7bce6818eb
Added supershipit to botmeta sanity test ( #50219 )
6 years ago
John R Barker
e7da4975cc
Botmeta validate path macros ( #48980 )
...
BOTMETA validation - use path macros
Rather than hard coding the list of path macros, read them directly from
BOTMETA
6 years ago
John R Barker
f4f5d941e5
botmeta support: core ( #45917 )
...
* botmeta enforce `support: core`
6 years ago
Matt Clay
e7426e3795
Minor cleanup of code-smell tests. ( #45658 )
...
* Minor cleanup of code-smell tests.
* Add exception handling for YAML load.
6 years ago
John R Barker
822236810e
BOTMETA Validator + Bulk tidyup, support:(core,community,network) ( #44903 )
...
plugins/ is COMMUNITY
Set sensible defaults for directories
support:network for the platforms that we Networking SUPPORTS,
everything else is COMMUNITY
Mark other support:network (ansible-connection, etc)
Infoblox is support:core
contrib/ by definition should be support:community
Remove duplicated labels
Make yamllint happy(ier)
Adds sanity test to ensure BOTMETA.yml is valid
6 years ago