CI: Drop STI and use TMT

This commit is contained in:
Miro Hrončok 2026-01-14 15:54:53 +01:00
parent 9e9ac5a69f
commit 6c03591bd3
3 changed files with 16 additions and 19 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

15
plan.fmf Normal file
View File

@ -0,0 +1,15 @@
execute:
how: tmt
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
require:
- platform-python
- python3-pytest
- python3-mock
- python3-urllib3
test: |
cd $(dirname $TMT_SOURCE_DIR/urllib3-*/test) &&
/usr/libexec/platform-python -m pytest -v

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-mock
tests:
- verify:
dir: ./source/test
run: /usr/libexec/platform-python -m pytest -v