Adjust gating
Use generic gating.yaml Just an import test
This commit is contained in:
parent
8c9fb85ae2
commit
6d86d494f1
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}
|
||||||
32
plan.fmf
32
plan.fmf
@ -1,28 +1,14 @@
|
|||||||
execute:
|
execute:
|
||||||
how: tmt
|
how: tmt
|
||||||
|
|
||||||
discover:
|
environment:
|
||||||
- name: rpms_pyproject-rpm-macros
|
pybasever: '3.14'
|
||||||
how: shell
|
|
||||||
url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git
|
|
||||||
tests:
|
|
||||||
- name: pyproject_pytest
|
|
||||||
path: /tests
|
|
||||||
test: ./mocktest.sh python3.14-pytest
|
|
||||||
- name: pyproject_pluggy
|
|
||||||
path: /tests
|
|
||||||
test: ./mocktest.sh python3.14-pluggy
|
|
||||||
- name: import_test
|
|
||||||
test: python3.14 -c "import setuptools_scm"
|
|
||||||
|
|
||||||
prepare:
|
discover:
|
||||||
- name: Install dependencies
|
- name: local repo
|
||||||
how: install
|
|
||||||
package:
|
|
||||||
- mock
|
|
||||||
- rpmdevtools
|
|
||||||
- rpm-build
|
|
||||||
- dnf
|
|
||||||
- name: Update packages
|
|
||||||
how: shell
|
how: shell
|
||||||
script: dnf upgrade -y
|
tests:
|
||||||
|
- name: import_test
|
||||||
|
test: python${pybasever} -c "import setuptools_scm"
|
||||||
|
require:
|
||||||
|
- python${pybasever}-setuptools_scm
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user