Skip to content
Snippets Groups Projects

Add html test-report

Closed Stephan Seitz requested to merge seitz/lbmpy:hmtl-report into master
2 files
+ 10
5
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 4
2
@@ -18,7 +18,7 @@ tests-and-coverage:
@@ -18,7 +18,7 @@ tests-and-coverage:
- echo "backend:template" > ~/.config/matplotlib/matplotlibrc
- echo "backend:template" > ~/.config/matplotlib/matplotlibrc
- mkdir public
- mkdir public
- pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@master#egg=pystencils
- pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@master#egg=pystencils
- 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:
tags:
- docker
- docker
- cuda11
- cuda11
@@ -27,6 +27,7 @@ tests-and-coverage:
@@ -27,6 +27,7 @@ tests-and-coverage:
when: always
when: always
paths:
paths:
- coverage_report
- coverage_report
 
- test-report
# Nightly test - runs "long run" jobs only
# Nightly test - runs "long run" jobs only
test-longrun:
test-longrun:
@@ -40,7 +41,7 @@ test-longrun:
@@ -40,7 +41,7 @@ test-longrun:
- mkdir -p ~/.config/matplotlib
- mkdir -p ~/.config/matplotlib
- echo "backend:template" > ~/.config/matplotlib/matplotlibrc
- echo "backend:template" > ~/.config/matplotlib/matplotlibrc
- pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@master#egg=pystencils
- pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@master#egg=pystencils
- 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:
tags:
- docker
- docker
- cuda11
- cuda11
@@ -48,6 +49,7 @@ test-longrun:
@@ -48,6 +49,7 @@ test-longrun:
artifacts:
artifacts:
paths:
paths:
- coverage_report
- coverage_report
 
- test-report
# Minimal tests in windows environment
# Minimal tests in windows environment
minimal-windows:
minimal-windows:
Loading