Add gating.yaml and tests

This commit is contained in:
Francisco Trivino 2024-12-05 15:06:08 +01:00
parent 75e9f3d31f
commit 87a84576e2
2 changed files with 31 additions and 0 deletions

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

25
tests/tests.yml Normal file
View File

@ -0,0 +1,25 @@
---
#
# 1minutetip --buildroot rhel10
#
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
- role: standard-test-basic
required_packages:
- python-semantic_version
- pytest
tests:
- test-base:
dir: "source/tests"
run: pytest test_base.py
- test-match:
dir: "source/tests"
run: pytest test_match.py
- test-parsing:
dir: "source/tests"
run: pytest test_parsing.py