Add gating configuration

This commit is contained in:
Lukas Zachar 2024-01-17 10:23:40 +01:00 committed by Tomáš Hrnčiar
parent c6dc16a7ad
commit 22e4a605c7
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-8
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
dist-git-source: true
tests:
- name: bundled tests
require:
- python3.12-pytest
- python3.12-pip
# these are required by trustme
- python3.12-cryptography
- python3.12-pycparser
- python3.12-cffi
test: |
pip-3.12 install pytest-mock==3.10.0 trustme==0.9.0 werkzeug==2.3.8 \
httpbin==0.10.1 pytest-httpbin==2.0.0 &&
cd $(dirname $TMT_SOURCE_DIR/requests-*/tests) &&
rm -rf requests &&
pytest-3.12 -v -p no:warnings tests -k "not test_use_proxy_from_environment"