Add tmt gating

Cherry-picked from python3.11-pluggy 35efed2a95a45a38ae409172c23f3f1f0215276e
35efed2a95
This commit is contained in:
Lukas Zachar 2024-01-10 18:58:18 +01:00 committed by Miro Hrončok
parent f8e3b10a20
commit 90224a934e
3 changed files with 20 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}

12
plan.fmf Normal file
View File

@ -0,0 +1,12 @@
execute:
how: tmt
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
require:
- python3.12-pytest
test: |
cd $(dirname $TMT_SOURCE_DIR/pluggy-*/testing) &&
pytest-3.12 testing -k "not test_load_setuptools_instantiation"