Add a basic gating test

This commit is contained in:
Miro Hrončok 2024-01-08 18:33:55 +01:00
parent 100ff29523
commit 1982b2e6a5
2 changed files with 12 additions and 9 deletions

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -4,14 +4,10 @@
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
dest: "pyproject-rpm-macros"
tests:
- pyproject_entrypoints:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-entrypoints
- import_test:
dir: .
run: python3.12 -c 'import flit_core'
required_packages:
- mock
- rpmdevtools
- rpm-build
- python3.12
- python3.12-flit-core