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
This commit is contained in:
parent
e1b75be738
commit
731d7b571f
1 changed files with 31 additions and 0 deletions
31
tests/integration/targets/uv_python/tasks/main.yaml
Normal file
31
tests/integration/targets/uv_python/tasks/main.yaml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
####################################################################
|
||||
# WARNING: These are designed specifically for Ansible tests #
|
||||
# and should not be used as examples of how to write Ansible roles #
|
||||
####################################################################
|
||||
|
||||
# Copyright (c) Ansible Project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
- name: Install uv
|
||||
shell: |
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
environment:
|
||||
UV_INSTALL_DIR: /usr/local/bin
|
||||
- name: Install python 3.14
|
||||
uv_python:
|
||||
version: 3.14
|
||||
state: present
|
||||
- name: Re-install python 3.14
|
||||
uv_python:
|
||||
version: 3.14
|
||||
state: present
|
||||
- name: Install python 3.13.5
|
||||
uv_python:
|
||||
version: 3.13.5
|
||||
state: present
|
||||
- name: Re-install python 3.13.5
|
||||
uv_python:
|
||||
version: 3.13.5
|
||||
state: present
|
||||
Loading…
Add table
Add a link
Reference in a new issue