1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-07 17:35:44 +00:00
os-autoinst-distri-fedora/ci/tox.yaml
Adam Williamson c2e1960eee Fix CI for Fedora 41 (dnf 5)
See https://pagure.io/fedora-project-config/issue/340 and
https://github.com/ansible/ansible/issues/84206 . We need to
force install python3-libdnf5 or ansible can't manage packages.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-04 11:31:20 -08:00

18 lines
526 B
YAML

- hosts: all
tasks:
- name: Include dnf dependency workaround task
ansible.builtin.include_tasks:
file: dnf-dependency.yaml
- 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 }}'