Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/android_sdk/tasks/main.yml

raw
1 ---
2 ####################################################################
3 # WARNING: These are designed specifically for Ansible tests #
4 # and should not be used as examples of how to write Ansible roles #
5 ####################################################################
6
7 # Copyright (c) Ansible Project
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)
9 # SPDX-License-Identifier: GPL-3.0-or-later
10
11 - name: Run android_sdk tests
12 environment:
13 PATH: '{{ ansible_facts.env.PATH }}:{{ android_sdk_location }}/cmdline-tools/latest/bin'
14 block:
15 - import_tasks: setup.yml
16
17 - name: Run default tests
18 import_tasks: default-tests.yml
19 when: ansible_facts.os_family != 'FreeBSD'
20
21 # Most of the important Android SDK packages are not available on FreeBSD (like, build-tools, platform-tools and so on),
22 # but at least some of the functionality can be tested (like, downloading sources)
23 - name: Run FreeBSD tests
24 import_tasks: freebsd-tests.yml
25 when: ansible_facts.os_family == 'FreeBSD'