Add gatting for libeconf
This commit is contained in:
parent
a5d3b9be7a
commit
8bd9dbe2d7
28
main.fmf
28
main.fmf
@ -4,22 +4,14 @@
|
||||
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
|
||||
|
||||
summary: Run all tests
|
||||
test: |
|
||||
git clone https://github.com/openSUSE/libeconf.git
|
||||
cd libeconf/bindings/python3
|
||||
cp econf.py test/econf.py
|
||||
pytest -v test/
|
||||
require:
|
||||
- git-core
|
||||
- pytest
|
||||
duration: 30m
|
||||
|
Loading…
Reference in New Issue
Block a user