Add tmt plan for gating

Makes sure to run python3.11

Resolves: rhbz#2159344
This commit is contained in:
Lukas Zachar 2023-01-27 13:13:52 +01:00
parent 4e850794f4
commit fe52cc702d
3 changed files with 20 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}

12
plan.fmf Normal file
View File

@ -0,0 +1,12 @@
execute:
how: tmt
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
require:
- python3.11-pytest
test: |
cd $(dirname $TMT_SOURCE_DIR/pyparsing-*/tests) &&
pytest-3.11 -v --ignore=tests/test_diagram.py -k "not testEmptyExpressionsAreHandledProperly"