[med-svn] [Git][med-team/python-cykhash][master] [ci skip] Run tests properly with pytest and corresponding py interpreter --...

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Sun Dec 10 08:09:54 GMT 2023



Nilesh Patra pushed to branch master at Debian Med / python-cykhash


Commits:
d9abcc76 by Nilesh Patra at 2023-12-10T13:39:33+05:30
[ci skip] Run tests properly with pytest and corresponding py interpreter -- this currently needs cython3

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,7 +1,11 @@
 python-cykhash (2.0.0-3) UNRELEASED; urgency=medium
 
+  [ Andreas Tille ]
   * Build-Depends: s/python3-dev/python3-all-dev/
 
+  [ Nilesh Patra ]
+  * Run tests properly with pytest and corresponding py interpreter
+
  -- Andreas Tille <tille at debian.org>  Sun, 10 Dec 2023 08:45:49 +0100
 
 python-cykhash (2.0.0-2) unstable; urgency=medium


=====================================
debian/rules
=====================================
@@ -9,5 +9,5 @@ export PYBUILD_NAME=cykhash
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} cd tests && sh run_unit_tests.sh"
+	dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} cd tests && {interpreter} -m pytest -v unit_tests/"
 endif



View it on GitLab: https://salsa.debian.org/med-team/python-cykhash/-/commit/d9abcc7638ff001f1cb9a29a49cc755f6468634d

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-cykhash/-/commit/d9abcc7638ff001f1cb9a29a49cc755f6468634d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20231210/4f16b05e/attachment.htm>


More information about the debian-med-commit mailing list