Skip to content

Commit

Permalink
Enable support for py313 (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Nov 5, 2024
1 parent 0b419aa commit 71ac368
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ concurrency:
jobs:
tox:
uses: ansible/team-devtools/.github/workflows/tox.yml@main
with:
max_python: "3.13"
jobs_producing_coverage: 7
other_names: |
docs
lint
pkg
py313-milestone
16 changes: 8 additions & 8 deletions tests/test_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ def test_plugin_help(pytester): # type: ignore[no-untyped-def] # noqa: ANN001,
# Check for the github args section header
"pytest-ansible:",
# Check for the specific args
" --inventory=ANSIBLE_INVENTORY, --ansible-inventory=ANSIBLE_INVENTORY",
" --host-pattern=ANSIBLE_HOST_PATTERN, --ansible-host-pattern=ANSIBLE_HOST_PATTERN",
" --connection=ANSIBLE_CONNECTION, --ansible-connection=ANSIBLE_CONNECTION",
" --user=ANSIBLE_USER, --ansible-user=ANSIBLE_USER",
" --inventory*, --ansible-inventory=ANSIBLE_INVENTORY",
" --host-pattern*, --ansible-host-pattern=ANSIBLE_HOST_PATTERN",
" --connection*, --ansible-connection=ANSIBLE_CONNECTION",
" --user*, --ansible-user=ANSIBLE_USER",
" --check, --ansible-check",
" --module-path=ANSIBLE_MODULE_PATH, --ansible-module-path=ANSIBLE_MODULE_PATH",
" --module-path*, --ansible-module-path=ANSIBLE_MODULE_PATH",
" --become, --ansible-become",
" --become-method=ANSIBLE_BECOME_METHOD, --ansible-become-method=ANSIBLE_BECOME_METHOD", # noqa: E501
" --become-user=ANSIBLE_BECOME_USER, --ansible-become-user=ANSIBLE_BECOME_USER",
" --ask-become-pass=ANSIBLE_ASK_BECOME_PASS, --ansible-ask-become-pass=ANSIBLE_ASK_BECOME_PASS", # noqa: E501
" --become-method*, --ansible-become-method=ANSIBLE_BECOME_METHOD",
" --become-user*, --ansible-become-user=ANSIBLE_BECOME_USER",
" --ask-become-pass*, --ansible-ask-become-pass=ANSIBLE_ASK_BECOME_PASS",
# Check for the marker in --help
" ansible (args)*Ansible integration",
],
Expand Down

0 comments on commit 71ac368

Please sign in to comment.