From b0bda2ce58de4c535cdc9dece0eb630c8df06d10 Mon Sep 17 00:00:00 2001 From: Lukas Zachar Date: Thu, 11 Jan 2024 12:13:20 +0100 Subject: [PATCH] Add gating configuration --- .fmf/version | 1 + gating.yaml | 7 +++++++ plan.fmf | 22 ++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plan.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..a77f895 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy + +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..0525701 --- /dev/null +++ b/plan.fmf @@ -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