Enable gating on tmt plan

Resolves: rhbz#2159303
This commit is contained in:
Lukas Zachar 2023-01-18 13:42:07 +01:00 committed by Charalampos Stratakis
parent d524edce8b
commit 06dc933bf3
4 changed files with 18 additions and 17 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

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}

10
plan.fmf Normal file
View File

@ -0,0 +1,10 @@
execute:
how: tmt
environment:
X: test_decimal
discover:
how: fmf
url: https://src.fedoraproject.org/tests/python.git
test: /selftest/parallel

View File

@ -1,17 +0,0 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/python.git"
dest: "python"
tests:
- python_selftest:
dir: python/selftest
run: X="test_decimal" ./parallel.sh
required_packages:
- python3-tkinter # for selftest
- python3-test # for selftest
- python3-rpm-macros # for dynamic python version