CI: fix xml tests on RHEL 8 (#7827)

* Try to fix xml installation on RHEL.

* Install python-lxml on RHEL 8. Should speed up tests considerably.
pull/7837/head
Felix Fontein 2024-01-13 09:57:58 +01:00 committed by GitHub
parent 9946f758af
commit 878664778e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,15 @@
state: present
when: ansible_os_family == "FreeBSD"
- name: Install requirements (RHEL 8)
package:
name:
- libxml2-devel
- libxslt-devel
- python3-lxml
state: present
when: ansible_distribution == "RedHat" and ansible_distribution_major_version == "8"
# Needed for MacOSX !
- name: Install lxml
pip: