Use osci for gating

This commit is contained in:
Lukáš Zachar 2026-07-16 16:13:46 +02:00
parent fad393d937
commit e371bb8083
3 changed files with 16 additions and 8 deletions

7
ci.fmf
View File

@ -1,7 +0,0 @@
summary: Tier1 tests
discover:
how: fmf
repository: git://pkgs.devel.redhat.com/tests/python-pygments
filter: 'tier:1'
execute:
how: tmt

View File

@ -1,6 +1,8 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.other.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

13
plan.fmf Normal file
View File

@ -0,0 +1,13 @@
discover:
how: shell
dist-git-source: true
tests:
- name: unit
test: |
cd $(dirname $TMT_SOURCE_DIR/Pygments-*/tests)
/usr/libexec/platform-python tests/run.py -d -v
require:
- python3-nose
execute:
how: tmt