From 1982b2e6a5d51dac9ba6bacfb62ff039ec341330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 8 Jan 2024 18:33:55 +0100 Subject: [PATCH] Add a basic gating test --- gating.yaml | 7 +++++++ tests/tests.yml | 14 +++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 gating.yaml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..a77f895 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy + +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/tests.yml b/tests/tests.yml index e7f5670..bf6582c 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -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