From 71ba3ebe92f86fe5654a16ed132129f1374a2d1b Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 7 Aug 2024 17:02:13 +0200 Subject: [PATCH] Add simple gating test Based on Parag's python-fs one. --- .fmf/version | 1 + gating.yaml | 8 ++++++++ plans/python3-mallard-ducktype.fmf | 11 +++++++++++ 3 files changed, 20 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/python3-mallard-ducktype.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..bfd22ab --- /dev/null +++ b/gating.yaml @@ -0,0 +1,8 @@ +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} + + diff --git a/plans/python3-mallard-ducktype.fmf b/plans/python3-mallard-ducktype.fmf new file mode 100644 index 0000000..d37e196 --- /dev/null +++ b/plans/python3-mallard-ducktype.fmf @@ -0,0 +1,11 @@ +discover: + - name: smoke-tests + how: shell + tests: + - name: python-import-test + test: python3 -c 'import mallard' + require: + - python3-mallard-ducktype + duration: 1m +execute: + how: tmt