Use osci and tmt for gating

This commit is contained in:
Lukáš Zachar 2026-07-08 17:21:15 +02:00
parent 55219a0c74
commit bc4b6cb79f
5 changed files with 16 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -3,4 +3,4 @@ product_versions:
- rhel-8 - rhel-8
decision_context: osci_compose_gate decision_context: osci_compose_gate
rules: rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

4
plans.fmf Normal file
View File

@ -0,0 +1,4 @@
discover:
how: fmf
execute:
how: tmt

5
tests/smoke.fmf Normal file
View File

@ -0,0 +1,5 @@
test: python3 smoke.py
framework: shell
require:
- python3
- python3-dateutil

5
tests/smoke.py Normal file
View File

@ -0,0 +1,5 @@
from dateutil.easter import easter
import datetime
correct = datetime.date(2021,4,4)
assert easter(2021) == correct