diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..8aea9be --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +# recipients: abokovoy, frenaud, kaleem, ftrivino, fcami +--- !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..832a711 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,18 @@ +--- +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-source + + - role: standard-test-basic + required_packages: + - python3-netaddr + - python3-pytest + tests: + - clean: + dir: source + run: find -name '*.py' -and -not -path '*/tests/*' -delete + - unittests: + dir: source + run: pytest-3 netaddr/tests/