From ce8f5b331e7e54c9b1c89729d407773957c8e743 Mon Sep 17 00:00:00 2001 From: Sudhir Menon Date: Wed, 26 Jun 2024 15:48:06 +0530 Subject: [PATCH] Added gating.yaml and tests for python-ply Signed-off-by: Sudhir Menon --- gating.yaml | 7 +++++++ tests/tests.yml | 20 ++++++++++++++++++++ 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..122483d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +# recipients: abokovoy, frenaud, kaleem, ftrivino, cheimes +--- !Policy +product_versions: + - rhel-10 +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..105bef4 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,20 @@ +--- +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-source + + - role: standard-test-basic + required_packages: + - python3-ply + tests: + - unittests: + dir: "source/python3" + run: >- + rm -rf ply* && + pushd test && + ./cleanup.sh && + python3 testlex.py && + python3 testyacc.py && + popd