Add tmt gating plan

Cherry-picked from python3.11-scipy 67801e27208adb01305579bd046956402e3dbad7
67801e2720

Amended to install pooch and assert the results.

Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
This commit is contained in:
Lukas Zachar 2024-01-16 20:20:01 +01:00 committed by Miro Hrončok
parent 7192fcfe49
commit 6ddeeb114d
3 changed files with 28 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}

20
plan.fmf Normal file
View File

@ -0,0 +1,20 @@
execute:
how: tmt
discover:
how: shell
tests:
- name: bundled tests
require:
- python3.12-pip
- python3.12-pytest
- python3.12-scipy
- python3.12-scipy-tests
# transitive requirements of pooch, we want them from RHEL:
- python3.12-charset-normalizer
- python3.12-idna
- python3.12-requests
- python3.12-urllib3
duration: 30m
test: |
pip3.12 install pooch==1.8.0 &&
python3.12 -c 'import scipy; assert scipy.test()'