|
7 | 7 | "community.netcommon" = "git+https://github.com/ansible-collections/ansible.netcommon.git,main" |
8 | 8 | "community.utils" = "git+https://github.com/ansible-collections/ansible.utils.git,main" |
9 | 9 |
|
10 | | -[sessions] |
11 | | - |
12 | | -[sessions.lint] |
13 | | -run_isort = false |
14 | | -run_black = false |
15 | | -run_flake8 = false |
16 | | -run_pylint = false |
17 | | -run_yamllint = true |
18 | | -yamllint_config = ".yamllint" |
19 | | -yamllint_config_plugins = ".yamllint-docs" |
20 | | -yamllint_config_plugins_examples = ".yamllint-examples" |
21 | | -yamllint_config_extra_docs = ".yamllint-extra-docs" |
22 | | -run_mypy = false |
23 | | - |
24 | | -[sessions.docs_check] |
25 | | -validate_collection_refs="all" |
26 | | -codeblocks_restrict_types = [ |
27 | | - "ansible-output", |
28 | | - "ini", |
29 | | - "yaml", |
30 | | - "yaml+jinja", |
31 | | -] |
32 | | -codeblocks_restrict_type_exact_case = true |
33 | | -codeblocks_allow_without_type = false |
34 | | -codeblocks_allow_literal_blocks = false |
35 | | - |
36 | | -[sessions.license_check] |
37 | | - |
38 | | -[sessions.extra_checks] |
39 | | -run_no_unwanted_files = true |
40 | | -no_unwanted_files_module_extensions = [".py"] |
41 | | -no_unwanted_files_yaml_extensions = [".yml"] |
42 | | -run_action_groups = true |
43 | | -run_no_trailing_whitespace = true |
44 | | -no_trailing_whitespace_skip_directories = [ |
45 | | - "tests/unit/plugins/modules/fixtures/", |
46 | | -] |
47 | | -run_avoid_characters = true |
48 | | - |
49 | | -[[sessions.extra_checks.action_groups_config]] |
50 | | -name = "api" |
51 | | -pattern = "^api.*$" |
52 | | -exclusions = [] |
53 | | -doc_fragment = "community.routeros.attributes.actiongroup_api" |
54 | | - |
55 | | -[[sessions.extra_checks.avoid_character_group]] |
56 | | -name = "tab" |
57 | | -regex = "\\x09" |
58 | | - |
59 | | -[sessions.build_import_check] |
60 | | -run_galaxy_importer = true |
61 | | - |
62 | | -[sessions.ansible_test_sanity] |
63 | | -include_devel = true |
64 | | - |
65 | | -[sessions.ansible_test_units] |
66 | | -include_devel = true |
67 | | - |
68 | 10 | [sessions.ansible_test_integration_w_default_container] |
69 | 11 | include_devel = true |
70 | 12 | controller_python_versions_only = true |
| 13 | +add_devel_like_branches = [ |
| 14 | + ["felixfontein/ansible", "show-deprecations"], |
| 15 | +] |
71 | 16 |
|
72 | 17 | [sessions.ansible_test_integration_w_default_container.core_python_versions] |
73 | | -"2.15" = ["2.7", "3.6", "3.7"] |
| 18 | +"2.15" = ["3.7"] |
74 | 19 | "2.16" = ["3.10"] |
75 | 20 | "2.17" = ["3.8"] |
76 | 21 | "2.18" = ["3.9"] |
77 | 22 | "2.19" = ["3.11"] |
78 | | - |
79 | | -[[sessions.ee_check.execution_environments]] |
80 | | -name = "devel-ubi-9" |
81 | | -description = "ansible-core devel @ RHEL UBI 9" |
82 | | -test_playbooks = ["tests/ee/all.yml"] |
83 | | -config.images.base_image.name = "docker.io/redhat/ubi9:latest" |
84 | | -config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/devel.tar.gz" |
85 | | -config.dependencies.ansible_runner.package_pip = "ansible-runner" |
86 | | -config.dependencies.python_interpreter.package_system = "python3.12 python3.12-pip python3.12-wheel python3.12-cryptography" |
87 | | -config.dependencies.python_interpreter.python_path = "/usr/bin/python3.12" |
88 | | -runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"} |
89 | | - |
90 | | -[[sessions.ee_check.execution_environments]] |
91 | | -name = "2.15-rocky-9" |
92 | | -description = "ansible-core 2.15 @ Rocky Linux 9" |
93 | | -test_playbooks = ["tests/ee/all.yml"] |
94 | | -config.images.base_image.name = "quay.io/rockylinux/rockylinux:9" |
95 | | -config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.15.tar.gz" |
96 | | -config.dependencies.ansible_runner.package_pip = "ansible-runner" |
97 | | -runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"} |
0 commit comments