CI: Run upstream testsuite

This commit is contained in:
Tomáš Hrnčiar 2024-05-20 15:19:24 +02:00
parent 39a90845de
commit a5072b79d4
2 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,6 @@
discover:
how: fmf
dist-git-source: true
execute:
how: tmt
prepare:

12
tests/upstream.fmf Normal file
View File

@ -0,0 +1,12 @@
summary: upstream testsuite
require:
- python3-devel
- python3-test
- python3-pip
- python3-pytest
# flexmock installed from PyPI, not available in RHEL
test: |
pip install flexmock==0.12.1 &&
cd $(dirname $TMT_SOURCE_DIR/micropipenv-*/tests) &&
pytest -v
duration: 5m