Compare commits

..
7 Commits
3 changed files with 36 additions and 29 deletions
+1
View File
@@ -0,0 +1 @@
1
+35
View File
@@ -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
-29
View File
@@ -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