From 59480f99fc3ca73b4ec66e95ab9c3776c186ffac Mon Sep 17 00:00:00 2001 From: Kaleemullah Siddiqui Date: Tue, 8 Jun 2021 21:34:46 +0530 Subject: [PATCH] Add gating definition for RHEL 9 Related: rhbz#1947473 Signed-off-by: Kaleemullah Siddiqui --- gating.yaml | 7 +++++++ tests/tests.yml | 23 +++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6f49862 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +# recipients: abokovoy, frenaud, kaleem, ftrivino, cheimes +--- !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 new file mode 100644 index 0000000..91aaa83 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,23 @@ +--- + +# 1minutetip --buildroot + +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-source + + - role: standard-test-basic + required_packages: + - python3-cffi + - python3-pytest + - python3-devel + - gcc + tests: + - unittests: + dir: "source" + # cffi1 and test_version depend on files that are not packaged + run: >- + rm -rf cffi* testing/cffi0/test_version.py && + pytest-3 testing/cffi0