From 85c349791568210bac68050e734add079d82c969 Mon Sep 17 00:00:00 2001 From: Jiri Konecny Date: Thu, 15 Jul 2021 15:24:01 +0200 Subject: [PATCH] Enable Gating for RHEL-9 This gating is based on RHEL-8 Gating. Resolves: rhbz#1982703 --- gating.yaml | 7 +++++++ tests/tests.yml | 22 ++++++++++++++++++++++ 2 files changed, 29 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..c81a81c --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} # this is the testcase identifier, which OSCI pipeline uses + diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..15c564b --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,22 @@ +--- +- hosts: localhost + roles: + - role: standard-test-source + tags: + - always + + - role: standard-test-basic + tags: + - classic + required_packages: + - python3-simpleline + - gobject-introspection-devel + + tests: + - smoke: + dir: . + run: /usr/libexec/platform-python -c "import simpleline" + - unit: + dir: ./source/tests/units + run: /usr/libexec/platform-python -m unittest discover -v -p "*_test.py" +