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..16696b5 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,27 @@ +--- +- hosts: localhost + tags: + - classic + pre_tasks: + - import_role: + name: standard-test-source + vars: + flatten: false + + roles: + - role: standard-test-basic + required_packages: + - python3-pyasn1 + - python3-pyasn1-modules + - python3-pytest + tests: + - unittests-pyasn1: + dir: "source/pyasn1-0.4.8" + run: >- + rm -rf pyasn1* && + pytest-3 tests/ + - unittests-pyasn1-modules: + dir: "source/pyasn1-modules-0.4.8" + run: >- + rm -rf pyasn1_modules* && + pytest-3 tests/