From 1752c54ddfce0c60ac6e8a39471b55c8358cf417 Mon Sep 17 00:00:00 2001 From: Lukas Zachar Date: Mon, 15 Jan 2024 17:45:23 +0100 Subject: [PATCH] Add tmt gating plan Cherry-picked from python3.11-pyyaml 8278e9aaa927200ebfca66ded3b43227e5623441 https://gitlab.com/redhat/centos-stream/rpms/python3.11-pyyaml/-/commit/8278e9aaa927200ebfca66ded3b43227e5623441 --- .fmf/version | 1 + gating.yaml | 7 +++++++ plan.fmf | 13 +++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plan.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..0c0cbb2 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy + +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..474a816 --- /dev/null +++ b/plan.fmf @@ -0,0 +1,13 @@ +execute: + how: tmt +discover: + how: shell + dist-git-source: true + tests: + - name: bundled tests + require: + - python3.12-pyyaml + test: | + cd $(dirname $TMT_SOURCE_DIR/pyyaml-*/tests) && + rm -rf yaml && + python3.12 tests/lib/test_all.py