From ad693b8a7127fca68b8ad8a93bf9884f9e98e7b6 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Wed, 18 May 2022 07:20:24 +0530 Subject: [PATCH] Resolves:rhbz#2066183 - Added gating configuration and tests Signed-off-by: Parag Nemade --- gating.yaml | 6 ++++++ tests/tests.yml | 21 +++++++++++++++++++++ 2 files changed, 27 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..648918d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !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..1221d83 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,21 @@ +--- +- hosts: localhost + roles: + - role: standard-test-source + tags: + - always + + - role: standard-test-basic + tags: + - classic + required_packages: + - python3-pytest + - python3-appdirs + - python3-pytz + - python3-six + tests: + - simple: + dir: ./source + run: python3 -m pytest -v --ignore tests/test_ftpfs.py --ignore tests/test_osfs.py --ignore tests/test_subfs.py --ignore tests/test_tempfs.py + +