mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
baa45d044c
snap: disable some tests that take way too long (#8148)
* Do not install microk8s in snap tests, as it is too slow.
* Do not install cider in snap tests, as it is slow.
(cherry picked from commit 609f28f791
)
Co-authored-by: Felix Fontein <felix@fontein.de>
25 lines
1.2 KiB
YAML
25 lines
1.2 KiB
YAML
---
|
|
####################################################################
|
|
# WARNING: These are designed specifically for Ansible tests #
|
|
# and should not be used as examples of how to write Ansible roles #
|
|
####################################################################
|
|
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
- name: Has-snap include
|
|
when: has_snap
|
|
block:
|
|
- name: Include test
|
|
ansible.builtin.include_tasks: test.yml
|
|
# TODO: Find better package to install from a channel - microk8s installation takes multiple minutes, and even removal takes one minute!
|
|
# - name: Include test_channel
|
|
# ansible.builtin.include_tasks: test_channel.yml
|
|
# TODO: Find bettter package to download and install from sources - cider 1.6.0 takes over 35 seconds to install
|
|
# - name: Include test_dangerous
|
|
# ansible.builtin.include_tasks: test_dangerous.yml
|
|
- name: Include test_3dash
|
|
ansible.builtin.include_tasks: test_3dash.yml
|
|
- name: Include test_empty_list
|
|
ansible.builtin.include_tasks: test_empty_list.yml
|