From 99ecd0620d9984c8273d05d09080553c366bf80a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Fri, 25 Jul 2025 09:58:48 +0200 Subject: [PATCH] Drop STI and use tmt instead Resolves: rhbz#2382970 (cherry picked from Fedora commit 40bf4a63bbff12ca93ca36b78a2f8ae28cc57933) --- .fmf/version | 1 + plan.fmf | 24 ++++++++++++++++++++++++ tests/tests.yml | 28 ---------------------------- 3 files changed, 25 insertions(+), 28 deletions(-) create mode 100644 .fmf/version create mode 100644 plan.fmf delete mode 100644 tests/tests.yml diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..883b478 --- /dev/null +++ b/plan.fmf @@ -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 diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 0e601b6..0000000 --- a/tests/tests.yml +++ /dev/null @@ -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