Add gating.yaml
Can be same for all rhel versions Just an import test
This commit is contained in:
parent
36f74f2a00
commit
c0aa0898a7
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
22
plan.fmf
22
plan.fmf
@ -2,22 +2,10 @@ execute:
|
||||
how: tmt
|
||||
|
||||
discover:
|
||||
- name: rpms_pyproject-rpm-macros
|
||||
- name: same_repo
|
||||
how: shell
|
||||
url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git
|
||||
tests:
|
||||
- name: pyproject_entrypoints
|
||||
path: /tests
|
||||
test: ./mocktest.sh python-entrypoints
|
||||
tests:
|
||||
- name: import_test
|
||||
test: python3.14 -c "import flit_core"
|
||||
|
||||
prepare:
|
||||
- name: Install dependencies
|
||||
how: install
|
||||
package:
|
||||
- mock
|
||||
- python3.14
|
||||
- python3.14-flit-core
|
||||
- rpmdevtools
|
||||
- rpm-build
|
||||
test: python${pybasever} -c "import flit_core"
|
||||
require:
|
||||
- python${pybasever}-flit-core
|
||||
|
||||
Loading…
Reference in New Issue
Block a user