# 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 [collection_sources] "community.internal_test_tools" = "git+https://github.com/ansible-collections/community.internal_test_tools.git,main" "community.library_inventory_filtering_v1" = "git+https://github.com/ansible-collections/community.library_inventory_filtering.git,stable-1" [vcs] vcs = "git" development_branch = "main" stable_branches = [ "stable-*" ] [sessions] [sessions.lint] run_isort = false run_black = false run_flake8 = false run_pylint = false run_yamllint = true yamllint_config = ".yamllint" yamllint_config_plugins = ".yamllint-docs" yamllint_config_plugins_examples = ".yamllint-examples" run_mypy = false [sessions.docs_check] validate_collection_refs="all" codeblocks_restrict_types = [ "ansible-output", "yaml", "yaml+jinja", ] codeblocks_restrict_type_exact_case = true codeblocks_allow_without_type = false codeblocks_allow_literal_blocks = false [sessions.license_check] [sessions.extra_checks] run_no_unwanted_files = true no_unwanted_files_module_extensions = [".py"] no_unwanted_files_yaml_extensions = [".yml"] run_action_groups = true run_no_trailing_whitespace = true run_avoid_characters = true [[sessions.extra_checks.action_groups_config]] name = "robot" pattern = "^.*$" exclusions = [] doc_fragment = "community.hrobot.attributes.actiongroup_robot" [[sessions.extra_checks.action_groups_config]] name = "api" pattern = "^storagebox.*$" exclusions = [] doc_fragment = "community.hrobot.attributes.actiongroup_api" [[sessions.extra_checks.avoid_character_group]] name = "tab" regex = "\\x09" [sessions.build_import_check] run_galaxy_importer = true [sessions.ansible_test_sanity] include_devel = true [sessions.ansible_test_units] include_devel = true [[sessions.ee_check.execution_environments]] name = "devel-ubi-9" description = "ansible-core devel @ RHEL UBI 9" test_playbooks = ["tests/ee/all.yml"] config.images.base_image.name = "docker.io/redhat/ubi9:latest" config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/devel.tar.gz" config.dependencies.ansible_runner.package_pip = "ansible-runner" config.dependencies.python_interpreter.package_system = "python3.12 python3.12-pip python3.12-wheel python3.12-cryptography" config.dependencies.python_interpreter.python_path = "/usr/bin/python3.12" runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"} [[sessions.ee_check.execution_environments]] name = "2.15-rocky-9" description = "ansible-core 2.15 @ Rocky Linux 9" test_playbooks = ["tests/ee/all.yml"] config.images.base_image.name = "quay.io/rockylinux/rockylinux:9" config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.15.tar.gz" config.dependencies.ansible_runner.package_pip = "ansible-runner" runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"} [[sessions.ee_check.execution_environments]] name = "2.14-centos-stream-9" description = "ansible-core 2.14 @ CentOS Stream 9" test_playbooks = ["tests/ee/all.yml"] config.images.base_image.name = "quay.io/centos/centos:stream9" config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.14.tar.gz" config.dependencies.ansible_runner.package_pip = "ansible-runner" runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"}