Enable Gating for RHEL-10

This gating is based on RHEL-9 Gating.

Cherry-picked from: 85c3497915 and
adjusted to match the c10s branch.

Resolves: RHEL-58212
This commit is contained in:
Jiri Konecny 2021-07-15 15:24:01 +02:00 committed by Katerina Koukiou
parent 880cd172d5
commit be644bb11b
2 changed files with 29 additions and 0 deletions

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} # this is the testcase identifier, which OSCI pipeline uses

22
tests/tests.yml Normal file
View File

@ -0,0 +1,22 @@
---
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- classic
required_packages:
- python3-simpleline
- gobject-introspection-devel
tests:
- smoke:
dir: .
run: /usr/libexec/platform-python -c "import simpleline"
- unit:
dir: ./source/tests/units
run: /usr/libexec/platform-python -m unittest discover -v -p "*_test.py"