From 653c6856391a082d578748bb3c7b41f81cf87855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 14 May 2024 22:22:09 +0200 Subject: [PATCH] CI: Run upstream testsuite --- plans.fmf | 1 + tests/testsuite.fmf | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/testsuite.fmf diff --git a/plans.fmf b/plans.fmf index e6427de..890b3bb 100644 --- a/plans.fmf +++ b/plans.fmf @@ -1,4 +1,5 @@ discover: how: fmf + dist-git-source: true execute: how: tmt diff --git a/tests/testsuite.fmf b/tests/testsuite.fmf new file mode 100644 index 0000000..71c7079 --- /dev/null +++ b/tests/testsuite.fmf @@ -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