Run upstream test as gating

Related: rhbz#2051483
Depends-On: https://gitlab.com/redhat/centos-stream/ci-cd/zuul/jobs-config/-/merge_requests/42
This commit is contained in:
Lukas Zachar 2022-05-04 12:31:15 +02:00
parent da20a04413
commit 852e562e7f
4 changed files with 29 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-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

13
plans/main.fmf Normal file
View File

@ -0,0 +1,13 @@
discover:
how: fmf
dist-git-source: true
execute:
how: tmt
prepare:
how: shell
script: |
dnf install -y "dnf-command(config-manager)" ;
dnf config-manager --set-enabled crb

9
tests/upstream.fmf Normal file
View File

@ -0,0 +1,9 @@
test: |
rm -rf test/python_stdlib/{3.10,3.11,3.6,3.7,3.8} ;
pytest -v test.py
path: marshalparser-0.3.0/
require:
- python3-pytest
- pyproject-rpm-macros
- python3-devel
duration: 15m