Skip to content
Snippets Groups Projects
Commit 35fc4c35 authored by Moritz-Alexander-Kern's avatar Moritz-Alexander-Kern
Browse files

add tests to viziphant package

parent 62f6e055
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ class PyViziphant(PythonPackage): ...@@ -15,6 +15,7 @@ class PyViziphant(PythonPackage):
# notify when the package is updated. # notify when the package is updated.
maintainers = ['Moritz-Alexander-Kern'] maintainers = ['Moritz-Alexander-Kern']
version('0.3.0', sha256='')
version('0.2.0', sha256='044b5c92de169dfafd9665efe2c310e917d2c21980bcc9f560d5c727161f9bd8') version('0.2.0', sha256='044b5c92de169dfafd9665efe2c310e917d2c21980bcc9f560d5c727161f9bd8')
version('0.1.0', sha256='8fd56ec8633f799396dc33fbace95d2553bedb17f680a8c0e97f43b3a629bf6c') version('0.1.0', sha256='8fd56ec8633f799396dc33fbace95d2553bedb17f680a8c0e97f43b3a629bf6c')
...@@ -27,3 +28,12 @@ class PyViziphant(PythonPackage): ...@@ -27,3 +28,12 @@ class PyViziphant(PythonPackage):
depends_on('py-six@1.10.0:', type=('build', 'run')) depends_on('py-six@1.10.0:', type=('build', 'run'))
depends_on('py-matplotlib@3.3.2:', type=('build', 'run')) depends_on('py-matplotlib@3.3.2:', type=('build', 'run'))
depends_on('py-seaborn@0.9.0:', type=('build', 'run')) depends_on('py-seaborn@0.9.0:', type=('build', 'run'))
depends_on("py-pytest", type=("test"), when="@0.3.0:")
@run_after('install')
@on_package_attributes(run_tests=True)
def install_test(self):
# run tests here (this is just an example):
pytest = which('pytest')
pytest()
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment