From f2bdbc2f91f4e15f88c7acfdbe7f6384eac5901a Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Wed, 16 Feb 2022 15:19:59 +0100 Subject: [PATCH] Add gating configuration and a simple smoke test Cherry-picked and edited from c9s: 3546ba25b5a8239e5033387e66728d5be941af3b --- .fmf/version | 1 + gating.yaml | 5 +++++ plans.fmf | 11 +++++++++++ 3 files changed, 17 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans.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..16755b7 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,5 @@ +--- !Policy + +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plans.fmf b/plans.fmf new file mode 100644 index 0000000..b548377 --- /dev/null +++ b/plans.fmf @@ -0,0 +1,11 @@ +discover: + - name: Smoke-tests + how: shell + tests: + - name: python-import-test + test: python3 -c 'import pluggy' + require: + - python3-pluggy + duration: 1m +execute: + how: tmt