python-kdcproxy/tests/tests.yml
Florence Blanc-Renaud 534504b732 Gating: standard-test-source role needs git
Add required_packages: git so that the role
standard-test-source is able to extract the source as
it is needed in the %prep phase

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
2024-07-05 14:16:40 +02:00

28 lines
578 B
YAML

---
- hosts: localhost
tags:
- classic
pre_tasks:
- name: Enable CRB for python3-pytest on 1minutetip
ini_file:
path: /etc/yum.repos.d/rhel.repo
section: rhel-CRB
option: enabled
value: "1"
create: no
ignore_errors: yes
roles:
- role: standard-test-source
required_packages:
- git
- role: standard-test-basic
required_packages:
- python3-kdcproxy
- python3-pytest
tests:
- unittests:
dir: "source"
run: >-
rm -rf kdcproxy* &&
python3 -m pytest