From eac0d6709e58f2534facdc3cbcf17ca34e28fc87 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Wed, 16 Feb 2022 16:31:21 +0100 Subject: [PATCH] Add gating configuration and a simple smoke test --- .Cython.metadata | 1 + .fmf/version | 1 + Cython.spec | 6 +++++- gating.yaml | 6 ++++++ plans.fmf | 11 +++++++++++ 5 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .Cython.metadata create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans.fmf diff --git a/.Cython.metadata b/.Cython.metadata new file mode 100644 index 0000000..bc75738 --- /dev/null +++ b/.Cython.metadata @@ -0,0 +1 @@ +6e1f2a315194526e5092e34b77622c117c14371c Cython-0.29.22.tar.gz 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/Cython.spec b/Cython.spec index 9c9d1c6..abcad00 100644 --- a/Cython.spec +++ b/Cython.spec @@ -8,7 +8,7 @@ Name: Cython Version: 0.29.22 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -129,6 +129,10 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Wed Feb 16 2022 Tomas Orsava - 0.29.22-7 +- Add gating configuration and a simple smoke test +- Related: rhbz#1950291 + * Tue Feb 08 2022 Tomas Orsava - 0.29.22-6 - Add automatically generated Obsoletes tag with the python39- prefix for smoother upgrade from RHEL8 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..648918d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plans.fmf b/plans.fmf new file mode 100644 index 0000000..45d4bb3 --- /dev/null +++ b/plans.fmf @@ -0,0 +1,11 @@ +discover: + - name: Smoke-tests + how: shell + tests: + - name: python-import-test + test: python3 -c 'import Cython' + require: + - python3-Cython + duration: 1m +execute: + how: tmt