Added gating.yaml and tests for python-cffi

Signed-off-by: Sudhir Menon <sumenon@redhat.com>
This commit is contained in:
Sudhir Menon 2024-06-28 15:28:17 +05:30
parent e94a8f1234
commit 819a7614f9
2 changed files with 30 additions and 0 deletions

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
# recipients: abokovoy, frenaud, kaleem, ftrivino, cheimes
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

23
tests/tests.yml Normal file
View File

@ -0,0 +1,23 @@
---
# 1minutetip --buildroot
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
- role: standard-test-basic
required_packages:
- python3-cffi
- python3-pytest
- python3-devel
- gcc
tests:
- unittests:
dir: "source"
# cffi1 and test_version depend on files that are not packaged
run: >-
rm -rf cffi* testing/cffi0/test_version.py &&
pytest-3 testing/cffi0