[med-svn] [Git][med-team/umap-learn][master] Run Build-Time tests

Nilesh Patra gitlab at salsa.debian.org
Tue May 26 15:19:38 BST 2020



Nilesh Patra pushed to branch master at Debian Med / umap-learn


Commits:
734ce62b by Nilesh Patra at 2020-05-26T19:48:24+05:30
Run Build-Time tests

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -11,7 +11,8 @@ Build-Depends: debhelper-compat (= 12),
                python3-scipy,
                python3-sklearn,
                python3-numba,
-               python3-nose <!nocheck>
+               python3-nose <!nocheck>,
+               python3-pytest
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/umap-learn
 Vcs-Git: https://salsa.debian.org/med-team/umap-learn.git


=====================================
debian/rules
=====================================
@@ -20,6 +20,8 @@ include /usr/share/dpkg/default.mk
 %:
 	dh $@ --with python3 --buildsystem=pybuild
 
+override_dh_auto_test:
+	dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} {interpreter} -m pytest"
 ### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
 #override_dh_auto_test:
 #ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))



View it on GitLab: https://salsa.debian.org/med-team/umap-learn/-/commit/734ce62b35e7b34d8ad58ba404c5f762c8563353

-- 
View it on GitLab: https://salsa.debian.org/med-team/umap-learn/-/commit/734ce62b35e7b34d8ad58ba404c5f762c8563353
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/20200526/7a222bf9/attachment-0001.html>


More information about the debian-med-commit mailing list