Add gating configuration and a simple smoke test

This commit is contained in:
Tomas Orsava 2022-02-22 18:42:08 +01:00 committed by Stepan Oksanichenko
parent f0e483e06b
commit 0209510b05
5 changed files with 24 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

1
.python-attrs.metadata Normal file
View File

@ -0,0 +1 @@
f0f9640820631a78ade009cf83336c1fa49d5a51 attrs-20.3.0.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 attr'
require:
- python3-attrs
duration: 1m
execute:
how: tmt

View File

@ -6,7 +6,7 @@
Name: python-attrs
Version: 20.3.0
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Python attributes without boilerplate
License: MIT
@ -58,6 +58,10 @@ PYTHONPATH=%{buildroot}/%{python3_sitelib} py.test-3 -v
%{python3_sitelib}/*
%changelog
* Tue Feb 22 2022 Tomas Orsava <torsava@redhat.com> - 20.3.0-7
- Add gating configuration and a simple smoke test
- Related: rhbz#1950291
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 20.3.0-6
- Add automatically generated Obsoletes tag with the python39- prefix
for smoother upgrade from RHEL8