Enable Gating for RHEL-9

This gating is based on RHEL-8 Gating.

Resolves: rhbz#1982703
This commit is contained in:
Jiri Konecny 2021-07-15 15:24:01 +02:00
parent 2a43f784a2
commit 85c3497915
No known key found for this signature in database
GPG Key ID: 38F52F0E5C3FAD25
2 changed files with 29 additions and 0 deletions

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
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"