mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
c00554735f
* Nuage module and unit tests with requested changes * Cleanup of imports * Adding check on python version * Adding import try and catch wrappers * Cleanup of requirements and adding integration tests * Using pypi package for simulator * Cleanup of requirements and adding integration tests * Adding aliases for integration tests * Adding module to import sanity test skip list * Revert "Adding module to import sanity test skip list" This reverts commit eab23af8c5ca7c503af63c05610b5db66d31fae4. * Adding check for importlib and cleanup of requirements
17 lines
405 B
YAML
17 lines
405 B
YAML
---
|
|
|
|
- name: collect all test cases
|
|
find:
|
|
paths: "{{ role_path }}/tests"
|
|
patterns: "{{ testcase }}.yaml"
|
|
delegate_to: localhost
|
|
register: test_cases
|
|
|
|
- name: set test_items
|
|
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
|
|
|
|
- name: run test case
|
|
include: "{{ test_case_to_run }}"
|
|
with_items: "{{ test_items }}"
|
|
loop_control:
|
|
loop_var: test_case_to_run
|