mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Add changes by russoz (#10192)
* remove references/test for ansible-core<2.16 * Add/update changelog fragment. * Undo change to ansible_galaxy_install. * Remove unnecessary import. --------- Co-authored-by: Alexei Znamensky <russoz@gmail.com>
This commit is contained in:
@@ -6,6 +6,5 @@
|
||||
- name: Test list_merge default options
|
||||
import_tasks: lists_mergeby_default.yml
|
||||
|
||||
- name: Test list_merge non-default options in Ansible 2.10 and higher
|
||||
- name: Test list_merge non-default options
|
||||
import_tasks: lists_mergeby_2-10.yml
|
||||
when: ansible_version.full is version('2.10', '>=')
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
- name: test deprecation
|
||||
assert:
|
||||
that:
|
||||
- "'deprecations' not in bl_test_1 or (ansible_version.major == 2 and ansible_version.minor == 12)"
|
||||
- "'deprecations' not in bl_test_1"
|
||||
|
||||
- name: add new item to list
|
||||
community.general.kernel_blacklist:
|
||||
|
||||
@@ -39,4 +39,3 @@
|
||||
- "'onyx_pfc_interface' is not community.general.a_module"
|
||||
# Tombstoned module
|
||||
- "'community.general.docker_image_facts' is not community.general.a_module"
|
||||
when: ansible_version.string is version('2.10.0', '>=')
|
||||
|
||||
@@ -168,10 +168,8 @@ function cleanup
|
||||
ansible-test coverage xml --color -v --requirements --group-by command --group-by version ${stub:+"$stub"}
|
||||
cp -a tests/output/reports/coverage=*.xml "$SHIPPABLE_RESULT_DIR/codecoverage/"
|
||||
|
||||
if [ "${ansible_version}" != "2.9" ]; then
|
||||
# analyze and capture code coverage aggregated by integration test target
|
||||
ansible-test coverage analyze targets generate -v "$SHIPPABLE_RESULT_DIR/testresults/coverage-analyze-targets.json"
|
||||
fi
|
||||
# analyze and capture code coverage aggregated by integration test target
|
||||
ansible-test coverage analyze targets generate -v "$SHIPPABLE_RESULT_DIR/testresults/coverage-analyze-targets.json"
|
||||
|
||||
# upload coverage report to codecov.io only when using complete on-demand coverage
|
||||
if [ "${COVERAGE}" == "--coverage" ] && [ "${CHANGED}" == "" ]; then
|
||||
|
||||
Reference in New Issue
Block a user