1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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.
This commit is contained in:
Felix Fontein 2024-03-25 06:42:04 +01:00 committed by GitHub
parent d62fe154d2
commit 609f28f791
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 4 deletions

View file

@ -13,10 +13,12 @@
block:
- name: Include test
ansible.builtin.include_tasks: test.yml
- name: Include test_channel
ansible.builtin.include_tasks: test_channel.yml
- name: Include test_dangerous
ansible.builtin.include_tasks: test_dangerous.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

View file

@ -3,6 +3,8 @@
# 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
# NOTE This is currently disabled for performance reasons!
- name: Make sure package is not installed (microk8s)
community.general.snap:
name: microk8s

View file

@ -3,6 +3,8 @@
# 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
# NOTE This is currently disabled for performance reasons!
- name: Make sure package is not installed (cider)
community.general.snap:
name: cider