From cd6677984dcff8e637189711c47563ca4ff40663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 15 Jan 2024 13:55:00 +0100 Subject: [PATCH] Adjust the gating tests for Python 3.12 @ RHEL 9 --- gating.yaml | 8 +++----- plans/smoke.fmf | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/gating.yaml b/gating.yaml index 8653363..648918d 100644 --- a/gating.yaml +++ b/gating.yaml @@ -1,8 +1,6 @@ --- !Policy product_versions: - - fedora-* -decision_contexts: - - bodhi_update_push_testing - - bodhi_update_push_stable + - rhel-9 +decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plans/smoke.fmf b/plans/smoke.fmf index 908e08d..f677559 100644 --- a/plans/smoke.fmf +++ b/plans/smoke.fmf @@ -4,9 +4,9 @@ discover: tests: - name: /smoke/import-python-module test: | - python3 -c 'import importlib as il; print(il.import_module("lxml"))' + python3.12 -c 'import importlib as il; print(il.import_module("lxml"))' - name: /smoke/etree-fromstring test: | - python3 plans/etree-fromstring.py + python3.12 plans/etree-fromstring.py execute: how: tmt