mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
838f39e76a
* win_scheduled_task: rewrite for additionality functionality and bug fixes * fixes for docs and os version differences * started with the testing * doc fix * added more tests * added principals tests * finished tests for win_scheduled_task rewrite * feedback from PR * change to fail when both new and deprecated args are set * change diff variable to match new standard and update doc sentance
38 lines
760 B
YAML
38 lines
760 B
YAML
---
|
|
- name: remove test tasks before test
|
|
include_tasks: clean.yml
|
|
|
|
- block:
|
|
# old tests, remove once new code is considered stable
|
|
- name: Test in normal mode
|
|
include_tasks: tests.yml
|
|
vars:
|
|
in_check_mode: no
|
|
|
|
- name: Test in check-mode
|
|
include_tasks: tests.yml
|
|
vars:
|
|
in_check_mode: yes
|
|
check_mode: yes
|
|
|
|
- include_tasks: clean.yml
|
|
|
|
- name: Test failure scenarios
|
|
include: failures.yml
|
|
|
|
- name: Test normal scenarios
|
|
include_tasks: new_tests.yml
|
|
|
|
- include_tasks: clean.yml
|
|
|
|
- name: Test principals
|
|
include_tasks: principals.yml
|
|
|
|
- include_tasks: clean.yml
|
|
|
|
- name: Test triggers
|
|
include_tasks: triggers.yml
|
|
|
|
always:
|
|
- name: remove test tasks after test
|
|
include_tasks: clean.yml
|