Add tests to gating

This commit is contained in:
Michal Josef Špaček 2022-10-27 13:41:24 +02:00
parent b150133a87
commit d829dcc29b
5 changed files with 21 additions and 1 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:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

View File

@ -1,6 +1,6 @@
Name: perl-IO-HTML
Version: 1.004
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Open an HTML file with automatic character set detection
# examples/detect-encoding.pl: Public Domain
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LicenseRef-Fedora-Public-Domain
@ -80,6 +80,9 @@ make test
%{_libexecdir}/%{name}
%changelog
* Thu Oct 27 2022 Michal Josef Špaček <mspacek@redhat.com> - 1.004-9
- Add tests to gating
* Thu Oct 27 2022 Michal Josef Špaček <mspacek@redhat.com> - 1.004-8
- Package tests
- Update license to SPDX format

5
plans/sanity.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Sanity tests
discover:
how: fmf
execute:
how: tmt

4
tests/upstream-tests.fmf Normal file
View File

@ -0,0 +1,4 @@
summary: Upstream tests
component: perl-IO-HTML
require: perl-IO-HTML-tests
test: /usr/libexec/perl-IO-HTML/test