Ole Streicher pushed to branch master at Debian Python Team / DPMT / tifffile
Commits: 9a5dc018 by Ole Streicher at 2020-05-17T10:24:54+02:00 Use CI tests provided by upstream - - - - - 3e2a7dc0 by Ole Streicher at 2020-05-17T10:24:54+02:00 Add gitlab-ci file - - - - - 3 changed files: - + debian/gitlab-ci.yml - debian/tests/control - − debian/tests/python-import Changes: ===================================== debian/gitlab-ci.yml ===================================== @@ -0,0 +1,8 @@ + +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +variables: + RELEASE: 'unstable' + \ No newline at end of file ===================================== debian/tests/control ===================================== @@ -1,3 +1,2 @@ -Tests: python-import -Depends: @, imagemagick, python3 -Restrictions: allow-stderr +Test-Command: cd tests; python3 -m pytest -v +Depends: @, python3, python3-pytest ===================================== debian/tests/python-import deleted ===================================== @@ -1,21 +0,0 @@ -#!/usr/bin/python3 -# autopkgtest check: Try importing tiffile module -# Author: Sascha Steinbiss <[email protected]> - -import tifffile -import os -import tempfile - -print(tifffile.__version__) - -tmpdir = tempfile.mkdtemp() -filename = "%s/foo.tiff" % (tmpdir) -os.system("convert -size 100x100 xc:white %s" % (filename)) -with tifffile.TiffFile(filename) as tif: - images = tif.asarray() - for page in tif.pages: - for tag in page.tags.values(): - t = tag.name, tag.value - print(t) -os.unlink(filename) -os.removedirs(tmpdir) View it on GitLab: https://salsa.debian.org/python-team/modules/tifffile/-/compare/cf23f2bcea7e4beee9c2014c9cbd7189fbd500af...3e2a7dc0a3b7b2c715c2fe5a23ca2cfc8148f125 -- View it on GitLab: https://salsa.debian.org/python-team/modules/tifffile/-/compare/cf23f2bcea7e4beee9c2014c9cbd7189fbd500af...3e2a7dc0a3b7b2c715c2fe5a23ca2cfc8148f125 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
