CI: Run upstream testsuite

This commit is contained in:
Miro Hrončok 2024-05-14 22:22:09 +02:00
parent c88a0248d6
commit 653c685639
2 changed files with 17 additions and 0 deletions

View File

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

16
tests/testsuite.fmf Normal file
View File

@ -0,0 +1,16 @@
summary: upstream testsuite
require:
- babel
- python3-babel
- python3-pip
- python3-pytest
- python3-setuptools # for test_setuptools_frontend
- python3-dateutil # required by freezegun
- python3-six # required by freezegun
# pytz and freezegun installed from PyPI, not available in RHEL
environment:
TZ: UTC
test: |
pip install pytz==2024.1 freezegun==1.5.1 &&
cd $(dirname $TMT_SOURCE_DIR/Babel-*/tests) &&
pytest -v