1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-19 03:41:34 +00:00
os-autoinst-distri-fedora/ci/perl.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

15 lines
470 B
YAML

- hosts: all
tasks:
- name: Include dnf dependency workaround task
ansible.builtin.include_tasks:
file: dnf-dependency.yaml
- name: Install required packages
package:
name: ['os-autoinst', 'perl-Test-Strict', 'perl-Test-Harness', 'perl-JSON', 'perl-REST-Client', 'perl-Code-TidyAll']
state: present
become: yes
- name: Run perl tests
command: prove t/
args:
chdir: '{{ zuul.project.src_dir }}'