Add tmt gating

Resolves: rhbz#2159306
This commit is contained in:
Lukas Zachar 2023-01-27 13:08:22 +01:00 committed by Charalampos Stratakis
parent d0df68bf6d
commit 89cb4bee6d
3 changed files with 26 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}

18
plan.fmf Normal file
View File

@ -0,0 +1,18 @@
execute:
how: tmt
prepare:
- name: Install hypothesis from PyPI
how: shell
script: pip3.11 install hypothesis==6.45.0
order: 90
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
require:
- python3.11-pytest
- python3.11-pip
test: |
cd $(dirname $TMT_SOURCE_DIR/attrs-*/tests) &&
pytest-3.11 tests