Add gating tmt plan

Resolves: rhbz#2159328
This commit is contained in:
Lukas Zachar 2023-01-30 15:57:39 +01:00
parent c642daee7f
commit 2a03bc483b
3 changed files with 26 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}

18
plan.fmf Normal file
View File

@ -0,0 +1,18 @@
execute:
how: tmt
prepare:
how: shell
script: pip-3.11 install pretend==1.0.9
order: 90
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
require:
- python3.11-pytest
- python3.11-pip
test: |
cd $(dirname $TMT_SOURCE_DIR/packaging-*/tests) &&
rm -rf packaging &&
pytest-3.11 tests/