|
7 | 7 | "community.library_inventory_filtering_v1" = "git+https://github.com/ansible-collections/community.library_inventory_filtering.git,stable-1" |
8 | 8 | "community.general" = "git+https://github.com/ansible-collections/community.general.git,main" |
9 | 9 |
|
10 | | -[sessions] |
11 | | - |
12 | | -[sessions.lint] |
13 | | -extra_code_files = ["tests/update-docs-fragments.py"] |
14 | | -isort_config = "tests/nox-config-isort.cfg" |
15 | | -run_black_modules = false # modules still support Python 2 |
16 | | -black_config = "tests/nox-config-black.toml" |
17 | | -flake8_config = "tests/nox-config-flake8.ini" |
18 | | -pylint_rcfile = "tests/nox-config-pylint.rc" |
19 | | -pylint_modules_rcfile = "tests/nox-config-pylint-py2.rc" |
20 | | -yamllint_config = "tests/nox-config-yamllint.yml" |
21 | | -yamllint_config_plugins = "tests/nox-config-yamllint-plugins.yml" |
22 | | -yamllint_config_plugins_examples = "tests/nox-config-yamllint-plugins-examples.yml" |
23 | | -yamllint_config_extra_docs = "tests/nox-config-yamllint-extra-docs.yml" |
24 | | -mypy_config = "tests/nox-config-mypy.ini" |
25 | | -mypy_extra_deps = [ |
26 | | - "dnspython", |
27 | | - "types-lxml", |
28 | | - "types-mock", |
29 | | - "types-PyYAML", |
30 | | -] |
31 | | - |
32 | | -[sessions.docs_check] |
33 | | -validate_collection_refs="all" |
34 | | -codeblocks_restrict_types = [ |
35 | | - "ansible-output", |
36 | | - "yaml", |
37 | | - "yaml+jinja", |
38 | | -] |
39 | | -codeblocks_restrict_type_exact_case = true |
40 | | -codeblocks_allow_without_type = false |
41 | | -codeblocks_allow_literal_blocks = false |
42 | | - |
43 | | -[sessions.license_check] |
44 | | - |
45 | | -[sessions.extra_checks] |
46 | | -run_no_unwanted_files = true |
47 | | -no_unwanted_files_module_extensions = [".py"] |
48 | | -no_unwanted_files_skip_paths = [ |
49 | | - "plugins/public_suffix_list.dat", |
50 | | - "plugins/public_suffix_list.dat.license", |
51 | | -] |
52 | | -no_unwanted_files_yaml_extensions = [".yml"] |
53 | | -run_action_groups = true |
54 | | -run_no_trailing_whitespace = true |
55 | | -run_avoid_characters = true |
56 | | - |
57 | | -[[sessions.extra_checks.action_groups_config]] |
58 | | -name = "hetzner" |
59 | | -pattern = "^hetzner_.*$" |
60 | | -exclusions = [] |
61 | | -doc_fragment = "community.dns.attributes.actiongroup_hetzner" |
62 | | - |
63 | | -[[sessions.extra_checks.action_groups_config]] |
64 | | -name = "hosttech" |
65 | | -pattern = "^hosttech_.*$" |
66 | | -exclusions = [] |
67 | | -doc_fragment = "community.dns.attributes.actiongroup_hosttech" |
68 | | - |
69 | | -[[sessions.extra_checks.avoid_character_group]] |
70 | | -name = "tab" |
71 | | -regex = "\\x09" |
72 | | - |
73 | | -[sessions.build_import_check] |
74 | | -run_galaxy_importer = true |
75 | | - |
76 | | -[sessions.ansible_test_sanity] |
77 | | -include_devel = true |
78 | | - |
79 | | -[sessions.ansible_test_units] |
80 | | -include_devel = true |
81 | | - |
82 | 10 | [sessions.ansible_test_integration_w_default_container] |
83 | 11 | include_devel = true |
| 12 | +add_devel_like_branches = [ |
| 13 | + ["felixfontein/ansible", "show-deprecations"], |
| 14 | +] |
84 | 15 |
|
85 | 16 | [sessions.ansible_test_integration_w_default_container.core_python_versions] |
86 | | -"2.14" = ["2.7", "3.5", "3.9"] |
87 | | -"2.15" = ["3.7"] |
88 | | -"2.16" = ["2.7", "3.6", "3.11"] |
89 | | -"2.17" = ["3.7", "3.12"] |
90 | | -"2.18" = ["3.8", "3.13"] |
91 | | -"2.19" = ["3.9", "3.13"] |
92 | | - |
93 | | -[[sessions.ee_check.execution_environments]] |
94 | | -name = "devel-ubi-9" |
95 | | -description = "ansible-core devel @ RHEL UBI 9" |
96 | | -test_playbooks = ["tests/ee/all.yml"] |
97 | | -config.images.base_image.name = "docker.io/redhat/ubi9:latest" |
98 | | -config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/devel.tar.gz" |
99 | | -config.dependencies.ansible_runner.package_pip = "ansible-runner" |
100 | | -config.dependencies.python_interpreter.package_system = "python3.12 python3.12-pip python3.12-wheel python3.12-cryptography" |
101 | | -config.dependencies.python_interpreter.python_path = "/usr/bin/python3.12" |
102 | | -runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"} |
103 | | - |
104 | | -[[sessions.ee_check.execution_environments]] |
105 | | -name = "2.15-rocky-9" |
106 | | -description = "ansible-core 2.15 @ Rocky Linux 9" |
107 | | -test_playbooks = ["tests/ee/all.yml"] |
108 | | -config.images.base_image.name = "quay.io/rockylinux/rockylinux:9" |
109 | | -config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.15.tar.gz" |
110 | | -config.dependencies.ansible_runner.package_pip = "ansible-runner" |
111 | | -runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"} |
112 | | - |
113 | | -[[sessions.ee_check.execution_environments]] |
114 | | -name = "2.14-centos-stream-9" |
115 | | -description = "ansible-core 2.14 @ CentOS Stream 9" |
116 | | -test_playbooks = ["tests/ee/all.yml"] |
117 | | -config.images.base_image.name = "quay.io/centos/centos:stream9" |
118 | | -config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.14.tar.gz" |
119 | | -config.dependencies.ansible_runner.package_pip = "ansible-runner" |
120 | | -runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"} |
| 17 | +"2.14" = [] |
| 18 | +"2.15" = [] |
| 19 | +"2.16" = [] |
| 20 | +"2.17" = [] |
| 21 | +"2.18" = [] |
| 22 | +"2.19" = [] |
0 commit comments