Add tmt gating plan

Cherry-picked from python3.11-numpy 80216001b20a659cbe3f82c3370baa47db8c2a43
80216001b2

Co-Authored-By: Miro Hrončok <miro@hroncok.cz>

 - assert the results (see RHEL-21591)
 - require gcc
 - requires setuptools (for distutils)
 - bump typing_extensions version (the old one errored)
This commit is contained in:
Lukas Zachar 2024-01-15 14:25:28 +01:00 committed by Miro Hrončok
parent 525ac53673
commit 52e6215553
3 changed files with 24 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}

16
plan.fmf Normal file
View File

@ -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()'