summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Mollier <emollier@debian.org>2024-03-17 18:10:59 +0100
committerÉtienne Mollier <emollier@debian.org>2024-03-17 18:10:59 +0100
commitc6b9bb035f3d767b2ef01b3ed005d0fb58d85631 (patch)
tree57fa6b9265b2892f16f90a86aabc1fb7c7151a9c
parent527ac74b5b47cdd6a58b76c1d1aef8a335b030e5 (diff)
d/{rules,control}: activate autodep8-pybuild.
These change increase autopkgtest coverage by running upstream test suite.
-rw-r--r--debian/control1
-rwxr-xr-xdebian/rules6
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 0c371da..e3c54a2 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,7 @@ Vcs-Browser: https://salsa.debian.org/med-team/seqmagick
Vcs-Git: https://salsa.debian.org/med-team/seqmagick.git
Homepage: https://github.com/fhcrc/seqmagick/
Rules-Requires-Root: no
+Testsuite: autopkgtest-pkg-pybuild
Package: seqmagick
Architecture: all
diff --git a/debian/rules b/debian/rules
index d2b1442..4c8889d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,3 +10,9 @@ override_dh_auto_clean:
dh_auto_clean
rm -rf seqmagick/data
rm -rf seqmagick.egg-info
+
+before-pybuild-autopkgtest:
+ # Pull test items that are otherwise uncaught by pybuild-autodep8.
+ mkdir -p ../../autopkgtest_tmp/build/seqmagick
+ cp -r /usr/lib/python3/dist-packages/seqmagick/test \
+ ../../autopkgtest_tmp/build/seqmagick