mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 13:19:13 +00:00
make integration tests more deterministic
This commit is contained in:
parent
5033a4f922
commit
f3475ae023
1 changed files with 7 additions and 2 deletions
|
|
@ -27,6 +27,11 @@
|
|||
environment:
|
||||
UV_INSTALL_DIR: /usr/local/bin
|
||||
|
||||
- name: Check if Python 3.14 exists already
|
||||
command: uv python find 3.14
|
||||
ignore_errors: true
|
||||
register: check_python_314_exists
|
||||
|
||||
- name: Install python 3.14 in check mode
|
||||
uv_python:
|
||||
version: 3.14
|
||||
|
|
@ -37,7 +42,7 @@
|
|||
- name: Verify python 3.14 installation in check mode
|
||||
assert:
|
||||
that:
|
||||
- install_check_mode.changed is true
|
||||
- install_check_mode.changed == check_python_314_exists.failed
|
||||
- install_check_mode.failed is false
|
||||
- install_check_mode.python_versions | length >= 1
|
||||
|
||||
|
|
@ -50,7 +55,7 @@
|
|||
- name: Verify python 3.14 installation
|
||||
assert:
|
||||
that:
|
||||
- install_python.changed is true
|
||||
- install_python.changed == check_python_314_exists.failed
|
||||
- install_python.failed is false
|
||||
- install_python.python_versions | length >= 1
|
||||
- install_python.python_paths | length >= 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue