Add tmt gating plan

Cherry-picked from python3.11-semantic_version 49b1589806b08ea9753f278b89d0a3f010af7b04
49b1589806

Amended to work with this version.

Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
This commit is contained in:
Lukas Zachar 2024-01-12 12:32:49 +01:00 committed by Miro Hrončok
parent 9f4c9d4cd0
commit de02a6a9d1
3 changed files with 22 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-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

14
plan.fmf Normal file
View File

@ -0,0 +1,14 @@
execute:
how: tmt
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
require:
- python3.12-semantic_version
- python3.12-pytest
test: |
cd $(dirname $TMT_SOURCE_DIR/python-semanticversion-*/tests) &&
rm -rf semantic_version* &&
pytest-3.12