Add gating configuration

This commit is contained in:
Lukas Zachar 2024-01-11 12:13:20 +01:00 committed by Tomáš Hrnčiar
parent df2948c566
commit b0bda2ce58
3 changed files with 30 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}

22
plan.fmf Normal file
View File

@ -0,0 +1,22 @@
execute:
how: tmt
environment:
PYTHON: python3.12
discover:
- how: shell
dist-git-source: true
tests:
- name: bundled demos
require:
- python3.12-devel
- python3.12-numpy
- python3.12-setuptools
- gcc-c++
- gcc
- make
test: |
cd $TMT_SOURCE_DIR/cython-*/Demos &&
sed "s/\bpython\b/python3.12/" -i Makefile callback/Makefile \
embed/Makefile &&
make test
- how: fmf