Add tmt gating plan

Cherry-picked from python3.11-cffi 015ff1aef5962fe68b79402c358ac8e0491d87d3
015ff1aef5
This commit is contained in:
Lukas Zachar 2024-01-12 18:48:17 +01:00 committed by Miro Hrončok
parent 18cb3a6e31
commit d412302522
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-8
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
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
require:
- python3.12-pytest
- python3.12-cffi
- python3.12-devel
- python3.12-setuptools
- patch
- gcc-c++
test: |
cd $(dirname $TMT_SOURCE_DIR/cffi-*/testing) &&
rm -rf cffi* &&
pytest-3.12 testing/cffi0