Add gating configuration

This commit is contained in:
Tomáš Hrnčiar 2024-01-10 12:28:27 +01:00 committed by Miro Hrončok
parent d02cc4eb7b
commit ec24c35ab0
3 changed files with 21 additions and 0 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-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

13
plan.fmf Normal file
View File

@ -0,0 +1,13 @@
execute:
how: tmt
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
require:
- python3.12-pytest
test: |
cd $(dirname $TMT_SOURCE_DIR/iniconfig-*/testing) &&
sed -i "s/py\.test/pytest/" testing/test_iniconfig.py &&
pytest-3.12 testing