Convert STI to tmt
This commit is contained in:
parent
0f412c71e4
commit
ebe9ba012c
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
21
plan.fmf
Normal file
21
plan.fmf
Normal file
@ -0,0 +1,21 @@
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
discover:
|
||||
how: shell
|
||||
dist-git-source: true
|
||||
tests:
|
||||
- name: upstream tests
|
||||
require:
|
||||
- python3-pytest
|
||||
- python3-packaging
|
||||
- python3-pretend
|
||||
test: |
|
||||
cd "$(dirname $TMT_SOURCE_DIR/packaging-*/tests)"
|
||||
rm -rf packaging*
|
||||
pytest-3 tests/
|
||||
prepare:
|
||||
- how: feature
|
||||
crb: enabled
|
||||
- how: feature
|
||||
epel: enabled
|
||||
@ -1,19 +0,0 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
tags:
|
||||
- always
|
||||
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- atomic
|
||||
- classic
|
||||
required_packages:
|
||||
- python3-pytest
|
||||
- python3-pretend
|
||||
|
||||
tests:
|
||||
- verify:
|
||||
dir: ./source/
|
||||
run: /usr/bin/py.test-3 tests/
|
||||
Loading…
Reference in New Issue
Block a user