[med-svn] [Git][python-team/modules/tifffile][master] 2 commits: Use CI tests provided by upstream

Ole Streicher gitlab at salsa.debian.org
Sun May 17 09:31:47 BST 2020



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 <satta at debian.org>
-
-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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200517/cd35b86d/attachment-0001.html>


More information about the debian-med-commit mailing list