CI: Drop STI and use tmt instead
Resolves: rhbz#2383051 [skip changelog]
This commit is contained in:
committed by
Miro Hrončok
parent
5584e15d42
commit
e397ccab93
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1,35 @@
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
discover:
|
||||
- name: rpms_pyproject-rpm-macros
|
||||
how: shell
|
||||
url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git
|
||||
tests:
|
||||
- name: pyproject_pytest
|
||||
path: /tests
|
||||
test: ./mocktest.sh python-pytest
|
||||
- name: pyproject_pluggy
|
||||
path: /tests
|
||||
test: ./mocktest.sh python-pluggy
|
||||
- name: pyproject_openqa_client
|
||||
path: /tests
|
||||
test: ./mocktest.sh python-openqa_client
|
||||
- name: pyproject_httpbin
|
||||
path: /tests
|
||||
test: ./mocktest.sh python-httpbin
|
||||
- name: pyproject_ldap
|
||||
path: /tests
|
||||
test: ./mocktest.sh python-ldap
|
||||
|
||||
prepare:
|
||||
- name: Install dependencies
|
||||
how: install
|
||||
package:
|
||||
- mock
|
||||
- rpmdevtools
|
||||
- rpm-build
|
||||
- dnf
|
||||
- name: Update packages
|
||||
how: shell
|
||||
script: dnf upgrade -y
|
||||
@@ -1,29 +0,0 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
repositories:
|
||||
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
|
||||
dest: "pyproject-rpm-macros"
|
||||
tests:
|
||||
- pyproject_pytest:
|
||||
dir: pyproject-rpm-macros/tests
|
||||
run: ./mocktest.sh python-pytest
|
||||
- pyproject_pluggy:
|
||||
dir: pyproject-rpm-macros/tests
|
||||
run: ./mocktest.sh python-pluggy
|
||||
- pyproject_openqa_client:
|
||||
dir: pyproject-rpm-macros/tests
|
||||
run: ./mocktest.sh python-openqa_client
|
||||
- pyproject_httpbin:
|
||||
dir: pyproject-rpm-macros/tests
|
||||
run: ./mocktest.sh python-httpbin
|
||||
- pyproject_ldap:
|
||||
dir: pyproject-rpm-macros/tests
|
||||
run: ./mocktest.sh python-ldap
|
||||
required_packages:
|
||||
- mock
|
||||
- rpmdevtools
|
||||
- rpm-build
|
||||
Reference in New Issue
Block a user