Add gating configuration and a simple smoke test

This commit is contained in:
Tomas Orsava 2022-02-16 16:43:35 +01:00 committed by Stepan Oksanichenko
parent 3281edf07a
commit fca3bf5138
5 changed files with 24 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

1
.pyparsing.metadata Normal file
View File

@ -0,0 +1 @@
b1ce3d1aa0314e2e6a5356dcd9624b4e8adff84e pyparsing-2.4.7.tar.gz

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}

11
plans.fmf Normal file
View File

@ -0,0 +1,11 @@
discover:
- name: Smoke-tests
how: shell
tests:
- name: python-import-test
test: python3 -c 'import pyparsing'
require:
- python3-pyparsing
duration: 1m
execute:
how: tmt

View File

@ -11,7 +11,7 @@
Summary: %{_summary}
Name: pyparsing
Version: 2.4.7
Release: 8.1%{?dist}
Release: 9%{?dist}
License: MIT
URL: https://github.com/pyparsing/pyparsing
@ -117,6 +117,10 @@ popd
%changelog
* Wed Feb 16 2022 Tomas Orsava <torsava@redhat.com> - 2.4.7-9
- Add gating configuration and a simple smoke test
- Related: rhbz#1950291
* Tue Feb 08 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 2.4.7-8.1
- Add automatically generated Obsoletes tag with the python39- prefix
for smoother upgrade from RHEL8