Convert STI to tmt

This commit is contained in:
Lukáš Zachar 2026-08-21 17:28:32 +02:00
parent 0f412c71e4
commit ebe9ba012c
3 changed files with 22 additions and 19 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

21
plan.fmf Normal file
View 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

View File

@ -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/