Drop STI and use tmt instead

Resolves: rhbz#2382970
(cherry picked from Fedora commit 40bf4a63bbff12ca93ca36b78a2f8ae28cc57933)
This commit is contained in:
Lukáš Zachar 2025-07-25 09:58:48 +02:00 committed by Miro Hrončok
parent 1b6e136313
commit 99ecd0620d
3 changed files with 25 additions and 28 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

24
plan.fmf Normal file
View File

@ -0,0 +1,24 @@
execute:
how: tmt
discover:
how: shell
url: https://gitlab.com/redhat/centos-stream/tests/python.git
tests:
- name: marshalparser_compatibility312
path: /marshalparser
test: VERSION=3.12 SAMPLE=200 ./test_marshalparser_compatibility.sh
- name: marshalparser_compatibility314
path: /marshalparser
test: VERSION=3.14 SAMPLE=200 ./test_marshalparser_compatibility.sh
prepare:
- name: Install dependencies
how: install
package:
- python3.12
- python3.14
- marshalparser
- dnf # for upgrade
- name: Update packages
how: shell
script: dnf upgrade -y

View File

@ -1,28 +0,0 @@
---
- hosts: localhost
tags:
- classic
tasks:
- dnf:
name: "*"
state: latest
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://gitlab.com/redhat/centos-stream/tests/python.git"
dest: "python"
tests:
- marshalparser_compatibility312:
dir: python/marshalparser
run: VERSION=3.12 SAMPLE=200 test_marshalparser_compatibility.sh
- marshalparser_compatibility314:
dir: python/marshalparser
run: VERSION=3.14 SAMPLE=200 test_marshalparser_compatibility.sh
required_packages:
- python3.12
- python3.14
- marshalparser