mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 13:33:08 +00:00
b5ad24c3fc
3.7 is EOL and not in F40, 3.12 is the latest stable. Signed-off-by: Adam Williamson <awilliam@redhat.com>
15 lines
404 B
YAML
15 lines
404 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Ensure tox is installed
|
|
include_role:
|
|
name: ensure-tox
|
|
- name: Install all Python versions to test
|
|
package:
|
|
name: ['python3.8', 'python3.9', 'python3.10', 'python3.11', 'python3.12']
|
|
state: present
|
|
become: yes
|
|
- name: Run tox
|
|
command: "{{ tox_executable }}"
|
|
args:
|
|
chdir: '{{ zuul.project.src_dir }}'
|