Add gating

This commit is contained in:
Lukáš Zachar 2025-10-14 15:04:44 +02:00 committed by Lumir Balhar
parent 43a0c07ccd
commit 3f0874b56d
3 changed files with 36 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

29
plan.fmf Normal file
View File

@ -0,0 +1,29 @@
execute:
how: tmt
provision:
hardware:
memory: '>= 6 GB'
discover:
how: shell
dist-git-source: true
dist-git-install-builddeps: true
dist-git-require:
- cargo
- rust-toolset
tests:
- name: unittests
test: |
export OPENSSL_ENABLE_SHA1_SIGNATURES=yes
export PYTHONPATH=./vectors
pip3.14 show pretend || pip3.14 install pretend
cd $(dirname $TMT_SOURCE_DIR/crypto*/tests) &&
# no need for benchmarks
rm -rf tests/bench &&
pytest-3.14 tests/
require:
- python3.14-devel
- python3.14-pytest
- python3.14-pip
- python3.14-cryptography