534504b732
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>
28 lines
578 B
YAML
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
|