Added gating.yaml and tests for python-netaddr
Signed-off-by: Sudhir Menon <sumenon@redhat.com>
This commit is contained in:
parent
15cc140d62
commit
2206416eba
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -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}
|
18
tests/tests.yml
Normal file
18
tests/tests.yml
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user