From 52e62155537ffe829e690439a80a133e764e215e Mon Sep 17 00:00:00 2001 From: Lukas Zachar Date: Mon, 15 Jan 2024 14:25:28 +0100 Subject: [PATCH] Add tmt gating plan MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cherry-picked from python3.11-numpy 80216001b20a659cbe3f82c3370baa47db8c2a43 https://gitlab.com/redhat/centos-stream/rpms/python3.11-numpy/-/commit/80216001b20a659cbe3f82c3370baa47db8c2a43 Co-Authored-By: Miro HronĨok - assert the results (see RHEL-21591) - require gcc - requires setuptools (for distutils) - bump typing_extensions version (the old one errored) --- .fmf/version | 1 + gating.yaml | 7 +++++++ plan.fmf | 16 ++++++++++++++++ 3 files changed, 24 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..0c0cbb2 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy + +product_versions: + - rhel-8 +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..7e70a3e --- /dev/null +++ b/plan.fmf @@ -0,0 +1,16 @@ +execute: + how: tmt +discover: + how: shell + tests: + - name: bundled tests + require: + - gcc + - python3.12-pytest + - python3.12-numpy + - python3.12-setuptools + - python3.12-pip + duration: 30m + test: | + pip3.12 install hypothesis==6.45.0 typing_extensions==4.9.0 && + python3.12 -c 'import numpy; assert numpy.test()'