CI: Run pyproject-rpm-macros mocktests

This commit is contained in:
Karolina Surma 2024-07-31 13:25:27 +02:00
parent 8bb89c3bf8
commit e0e10bf10c
4 changed files with 20 additions and 0 deletions

View File

@ -1,4 +1,13 @@
discover: discover:
how: fmf how: fmf
prepare:
- name: install git-core
how: install
package: [git-core]
- name: clone pyproject tests
how: shell
script: |
git clone https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git --depth=1 &&
cd pyproject-rpm-macros && mv tests $TMT_PLAN_DATA
execute: execute:
how: tmt how: tmt

View File

@ -0,0 +1,5 @@
require:
- 'https://kojipkgs.fedoraproject.org/packages/epel-release/10/1.el10_0/noarch/epel-release-10-1.el10_0.noarch.rpm'
- rpm-build
- rpmdevtools
- mock

View File

@ -0,0 +1,3 @@
test: |
cd $TMT_PLAN_DATA/tests &&
TEST_ARTIFACTS=${TMT_TEST_DATA} ./mocktest.sh python-userpath

View File

@ -0,0 +1,3 @@
test: |
cd $TMT_PLAN_DATA/tests &&
TEST_ARTIFACTS=${TMT_TEST_DATA} ./mocktest.sh python-virtualenv