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.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to