From 20609c0106b59ccdcee4438f0c60982b32648d14 Mon Sep 17 00:00:00 2001 From: luolu12 Date: Thu, 14 Sep 2023 16:11:31 +0800 Subject: [PATCH] add check to duty --- python-duty.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python-duty.spec b/python-duty.spec index dd5a801..feccb20 100644 --- a/python-duty.spec +++ b/python-duty.spec @@ -18,6 +18,7 @@ BuildRequires: python3-hatchling BuildRequires: python3-pdm-pep517 BuildRequires: python3-pdm-backend BuildRequires: python3-failprint +BuildRequires: python3-pytest %description @@ -57,6 +58,9 @@ fi popd mv %{buildroot}/doclist.lst . +%check +%pytest + %files -n python3-%{pypi_name} %license LICENSE %doc README.md -- Gitee