Adding gating tests for libeconf.
Resolves: RHELMISC-7550
This commit is contained in:
parent
ea9608d272
commit
c52029c162
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
24
main.fmf
Normal file
24
main.fmf
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/plan:
|
||||||
|
summary: Basic test suite
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
prepare:
|
||||||
|
- name: install required packages
|
||||||
|
how: install
|
||||||
|
package: [git, pytest]
|
||||||
|
- name: clone repo
|
||||||
|
how: shell
|
||||||
|
script: git clone https://github.com/openSUSE/libeconf.git /root/libeconf
|
||||||
|
- name: Copy file with owner and permissions
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: /root/libeconf/bindings/python3/econf.py
|
||||||
|
dest: /root/libeconf/bindings/python3/test/econf.py
|
||||||
|
- name: Change Directory
|
||||||
|
shell:
|
||||||
|
chdir: /root/libeconf/bindings/python3
|
||||||
|
/test:
|
||||||
|
/upstream_basic:
|
||||||
|
test: pytest -v test/
|
||||||
|
duration: 30m
|
Loading…
Reference in New Issue
Block a user