1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 13:19:13 +00:00

uv_python module: add integration tests for latest state

This commit is contained in:
Mariam Ahhttouche 2026-02-13 15:42:09 +01:00
parent ac140457f1
commit 0f586328bc

View file

@ -21,6 +21,10 @@
uv_python:
version: 3.14
state: present
- name: Install latest python 3.14 # installs latest patch version for 3.14
uv_python:
version: 3.14
state: latest
- name: Install python 3.13.5
uv_python:
version: 3.13.5
@ -55,4 +59,8 @@
ansible.builtin.assert:
that:
- result is failed
- "'Expected X.Y or X.Y.Z' in result.msg"
- "'Expected formats are X.Y or X.Y.Z' in result.msg"
- name: Upgrade python 3.13
uv_python:
version: 3.13
state: latest