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..d0eb6c1 --- /dev/null +++ b/plan.fmf @@ -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 diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index aa22e80..0000000 --- a/tests/tests.yml +++ /dev/null @@ -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