Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephan Seitz
pystencils
Commits
ef496986
Commit
ef496986
authored
Aug 21, 2019
by
Stephan Seitz
Committed by
Stephan Seitz
Sep 02, 2019
Browse files
Add pyhtml to tests and artifacts
parent
ddbe84da
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ef496986
...
...
@@ -17,7 +17,7 @@ tests-and-coverage:
-
mkdir -p ~/.config/matplotlib
-
echo "backend:template" > ~/.config/matplotlib/matplotlibrc
-
mkdir public
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=. -m "not longrun"
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=. -m "not longrun"
--html test-report/index.html
tags
:
-
docker
-
cuda
...
...
@@ -26,6 +26,7 @@ tests-and-coverage:
when
:
always
paths
:
-
coverage_report
-
test-report
# Nightly test - runs "long run" jobs only
test-longrun
:
...
...
@@ -38,7 +39,7 @@ test-longrun:
-
export NUM_CORES=$(nproc --all)
-
mkdir -p ~/.config/matplotlib
-
echo "backend:template" > ~/.config/matplotlib/matplotlibrc
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=.
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=.
--html test-report/index.html
tags
:
-
docker
-
cuda
...
...
@@ -46,6 +47,7 @@ test-longrun:
artifacts
:
paths
:
-
coverage_report
-
test-report
# Minimal tests in windows environment
minimal-windows
:
...
...
setup.py
View file @
ef496986
...
...
@@ -117,7 +117,16 @@ setup(name='pystencils',
'doc'
:
[
'sphinx'
,
'sphinx_rtd_theme'
,
'nbsphinx'
,
'sphinxcontrib-bibtex'
,
'sphinx_autodoc_typehints'
,
'pandoc'
],
},
tests_require
=
[
'pytest'
,
'pytest-cov'
,
'pytest-xdist'
,
'flake8'
,
'nbformat'
,
'nbconvert'
,
'ipython'
],
tests_require
=
[
'pytest'
,
'pytest-cov'
,
'pytest-html'
,
'ansi2html'
,
'pytest-xdist'
,
'flake8'
,
'nbformat'
,
'nbconvert'
,
'ipython'
],
python_requires
=
">=3.6"
,
cmdclass
=
{
'quicktest'
:
SimpleTestRunner
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment